Apply fixes from StyleCI (#260)

This commit is contained in:
Dane Everitt
2017-01-21 15:56:32 -05:00
committed by GitHub
parent 19da4eda04
commit 355697dbb5
5 changed files with 10 additions and 6 deletions

View File

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