Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh authored and github-actions[bot] committed Dec 6, 2023
1 parent 5a96e9e commit 919856a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FilamentShield.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
Expand Down

0 comments on commit 919856a

Please sign in to comment.