Completed
Branch 5.x (da28af)
by Alexis
16s
created
Category
src/ValidatorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
 
18 18
 interface ValidatorInterface
19 19
 {
20
-    public function validate(mixed $subject, Validatable|array $rules, array $messages = []): ValidationFailureCollectionInterface;
20
+    public function validate(mixed $subject, Validatable | array $rules, array $messages = []): ValidationFailureCollectionInterface;
21 21
 }
Please login to merge, or discard this patch.
src/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         );
45 45
     }
46 46
 
47
-    public function validate(mixed $subject, Validatable|array $rules, array $messages = []): ValidationFailureCollectionInterface
47
+    public function validate(mixed $subject, Validatable | array $rules, array $messages = []): ValidationFailureCollectionInterface
48 48
     {
49 49
         if ($rules instanceof Validatable) {
50 50
             return $this->assert($subject, $this->validationFactory->create(['rules' => $rules]), $messages);
Please login to merge, or discard this patch.