lib: Move getters before setters in ExternalBackend

This commit is contained in:
Eric Lippmann 2016-04-11 10:57:01 +02:00
parent 05f752ecd8
commit c803ec64c5
1 changed files with 5 additions and 5 deletions

View File

@ -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;
}