Skip to content

Commit c5618ff

Browse files
authored
Update LaravelRuleModel.php
php8.4
1 parent 82f2622 commit c5618ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Model/LaravelRuleModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ public function __construct(array $data = [], ?string $driver = null)
5959
*
6060
* @return mixed
6161
*/
62-
protected function config(string $key = null, $default = null)
62+
protected function config(?string $key = null, $default = null)
6363
{
6464
$driver = $this->driver ?? config('plugin.casbin.webman-permission.permission.default');
6565
return config('plugin.casbin.webman-permission.permission.' . $driver . '.' . $key, $default);
6666
}
67-
}
67+
}

0 commit comments

Comments
 (0)