Skip to content

Commit d2b44aa

Browse files
committed
fix: fix error in php8.4
1 parent 2fe2143 commit d2b44aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: true
2121
matrix:
22-
php: [ 8.0, 8.1, 8.2, 8.3 ]
22+
php: [ 8.0, 8.1, 8.2, 8.3, 8.4 ]
2323

2424
name: PHP${{ matrix.php }}
2525

src/traits/Configurable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait Configurable
1212
*
1313
* @return mixed
1414
*/
15-
protected function config(string $key = null, $default = null)
15+
protected function config(string $key, $default = null)
1616
{
1717
$driver = config('tauthz.default');
1818
return config('tauthz.enforcers.' . $driver . '.' . $key, $default);

0 commit comments

Comments
 (0)