File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function getId(): string
1818 /**
1919 * Set a custom callback to determine if a user is a library admin.
2020 *
21- * @param callable $callback Function that receives a user and returns bool
21+ * @param callable $callback Function that receives a user and returns bool
2222 */
2323 public static function setLibraryAdminCallback (callable $ callback ): void
2424 {
@@ -28,12 +28,11 @@ public static function setLibraryAdminCallback(callable $callback): void
2828 /**
2929 * Check if a user is a library admin.
3030 *
31- * @param \Illuminate\Contracts\Auth\Authenticatable|null $user
32- * @return bool
31+ * @param \Illuminate\Contracts\Auth\Authenticatable|null $user
3332 */
3433 public static function isLibraryAdmin ($ user ): bool
3534 {
36- if (!$ user ) {
35+ if (! $ user ) {
3736 return false ;
3837 }
3938
You can’t perform that action at this time.
0 commit comments