diff --git a/src/Utils/CallbacksArrayReducer.php b/src/Utils/CallbacksArrayReducer.php index 7ce81f510..96644c20b 100644 --- a/src/Utils/CallbacksArrayReducer.php +++ b/src/Utils/CallbacksArrayReducer.php @@ -26,11 +26,11 @@ public static function or(): Closure */ static fn (array $callbacks): Closure => static fn (mixed ...$parameters): bool => array_reduce( $callbacks, - /** - * @param bool $carry - * @param callable(mixed...): bool $callable - */ - static fn (bool $carry, callable $callable): bool => $carry || $callable(...$parameters), + /** + * @param bool $carry + * @param callable(mixed...): bool $callable + */ + static fn (bool $carry, callable $callable): bool => $carry || $callable(...$parameters), false ); }