mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 05:13:45 +02:00
Apply fixes from StyleCI (#260)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user