X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/58fa7679bccafd00f9a50bcd4a87e96876331b03..refs/pull/3118/head:/app/Auth/Role.php diff --git a/app/Auth/Role.php b/app/Auth/Role.php index 59b1f547c..71da88e19 100644 --- a/app/Auth/Role.php +++ b/app/Auth/Role.php @@ -1,23 +1,30 @@ -where('display_name', '=', $displayName)->first(); } @@ -86,7 +94,7 @@ class Role extends Model implements Loggable /** * Get the role object for the specified system role. */ - public static function getSystemRole(string $systemName): ?Role + public static function getSystemRole(string $systemName): ?self { return static::query()->where('system_name', '=', $systemName)->first(); } @@ -111,7 +119,7 @@ class Role extends Model implements Loggable } /** - * @inheritdoc + * {@inheritdoc} */ public function logDescriptor(): string {