add some phpdoc

This commit is contained in:
Manuel Raynaud
2014-03-17 14:55:26 +01:00
parent 0d6354debc
commit 99eb5c01f4
10 changed files with 74 additions and 10 deletions

View File

@@ -27,6 +27,11 @@ class Admin extends BaseAdmin implements UserInterface
{
use ModelEventDispatcherTrait;
/**
* Retrieve all permissions for the current admin
*
* @return array|string
*/
public function getPermissions()
{
$profileId = $this->getProfileId();
@@ -105,7 +110,7 @@ class Admin extends BaseAdmin implements UserInterface
*/
public function eraseCredentials()
{
$this->setPassword(null);
parent::setPassword(null);
}
/**