Refactor Callback
Filter
#549
Annotations
2 errors
test/CallbackTest.php#L142
test/CallbackTest.php:142:38: InvalidArgument: Argument 1 of Laminas\Filter\Callback::__construct expects array{callback: callable(mixed):mixed, callback_params?: array<array-key, mixed>}|callable(mixed):mixed, but array{callback: impure-Closure(mixed, string, string):string, callback_params: array{bar: 'Baz', foo: 'Bing'}} provided (see https://psalm.dev/004)
|
test/CallbackTest.php#L159
test/CallbackTest.php:159:38: InvalidArgument: Argument 1 of Laminas\Filter\Callback::__construct expects array{callback: callable(mixed):mixed, callback_params?: array<array-key, mixed>}|callable(mixed):mixed, but array{callback: impure-Closure(mixed, string, string):string, callback_params: list{'Baz', 'Bing'}} provided (see https://psalm.dev/004)
|
This job failed
Loading