Passed
Push — main ( 7a0027...08ada0 )
by Breno
01:45
created
src/Validator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         return $this->ruleSets[] = ValidationSet::forField($field);
28 28
     }
29 29
 
30
-    public function field(string $field, Validation|ValidationSet ...$rules): self
30
+    public function field(string $field, Validation | ValidationSet ...$rules): self
31 31
     {
32 32
         $this->ruleSet($field)->add(...$rules);
33 33
         return $this;
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      * @return static
113 113
      * @throws ReflectionException if the class does not exist
114 114
      */
115
-    public static function fromProperties(string|object $objectOrClass, ?int $filter = null): self
115
+    public static function fromProperties(string | object $objectOrClass, ?int $filter = null): self
116 116
     {
117 117
         $instance = new self;
118 118
         $instance->ruleSets = ValidationSet::fromProperties($objectOrClass, $filter);
Please login to merge, or discard this patch.