Apply fixes from StyleCI (#260)
This commit is contained in:
parent
19da4eda04
commit
355697dbb5
5 changed files with 10 additions and 6 deletions
|
@ -150,9 +150,10 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
|
|||
/**
|
||||
* Return true or false depending on wether the user is root admin or not.
|
||||
*
|
||||
* @return boolean the user is root admin
|
||||
* @return bool the user is root admin
|
||||
*/
|
||||
public function isRootAdmin() {
|
||||
public function isRootAdmin()
|
||||
{
|
||||
return $this->root_admin === 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue