From 919856a29f76ce73eec417dcfd564c93994df0fd Mon Sep 17 00:00:00 2001 From: bezhanSalleh Date: Wed, 6 Dec 2023 17:28:54 +0000 Subject: [PATCH] Fix styling --- src/FilamentShield.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FilamentShield.php b/src/FilamentShield.php index 788c674..c64a119 100755 --- a/src/FilamentShield.php +++ b/src/FilamentShield.php @@ -101,7 +101,7 @@ protected static function giveSuperAdminPermission(string | array | Collection $ } } - public static function createRole(string $name = null) + public static function createRole(?string $name = null) { return Utils::getRoleModel()::firstOrCreate( ['name' => $name ?? Utils::getSuperAdminName()],