Skip to content

Commit 82f2622

Browse files
authored
Update Permission.php
php 8.4
1 parent 56e7440 commit 82f2622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Permission.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public static function getDefaultDriver(): mixed
137137
* @return mixed
138138
* @author Tinywan(ShaoBo Wan)
139139
*/
140-
public static function getConfig(string $name = null, $default = null): mixed
140+
public static function getConfig(?string $name = null, $default = null): mixed
141141
{
142142
if (!is_null($name)) {
143143
return config('plugin.casbin.webman-permission.permission.' . $name, $default);

0 commit comments

Comments
 (0)