diff --git a/src/Validation/ListOfValidation.php b/src/Validation/ListOfValidation.php index bfe384c..6a089ff 100644 --- a/src/Validation/ListOfValidation.php +++ b/src/Validation/ListOfValidation.php @@ -54,7 +54,7 @@ public static function reduceToSuccessOrAllFailures(array $validations): Validat } } - if (! empty($errors)) { + if (!empty($errors)) { return Validation::failures(\array_merge([], ...$errors)); } @@ -96,7 +96,7 @@ function ($x) use ($k, &$results): void { ); } - if (! empty($errors)) { + if (!empty($errors)) { /** @var list> $errors */ $failures = Validation::failures(\array_merge(...$errors)); /** @var VP $failures */