Skip to content

Commit d5944a3

Browse files
committed
Fixed PHP 8.4 deprecation warning.
1 parent 3812cf8 commit d5944a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Strategy/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Filter extends Delegate
1818
* @param callable|null $callback Callback function that receives the current value as its first argument, the
1919
* current key as its second argument and context as its third argument.
2020
*/
21-
public function __construct($expression, callable $callback = null)
21+
public function __construct($expression, ?callable $callback = null)
2222
{
2323
parent::__construct($expression);
2424

0 commit comments

Comments
 (0)