Fix PHPDoc of User::setRestrictions()

refs #10887
This commit is contained in:
Eric Lippmann 2016-03-29 11:18:36 +02:00
parent c6eb3cd2c7
commit 3d6ae6ac26
1 changed files with 5 additions and 2 deletions

View File

@ -237,13 +237,16 @@ class User
}
/**
* Settter for restrictions
* Set the user's restrictions
*
* @param array $restrictions
* @param string[] $restrictions
*
* @return $this
*/
public function setRestrictions(array $restrictions)
{
$this->restrictions = $restrictions;
return $this;
}
/**