mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
lib: Move getters before setters in ExternalBackend
This commit is contained in:
parent
05f752ecd8
commit
c803ec64c5
@ -38,18 +38,18 @@ class ExternalBackend implements UserBackendInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function setName($name)
|
||||
public function getName()
|
||||
{
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getName()
|
||||
public function setName($name)
|
||||
{
|
||||
return $this->name;
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user