Passed
Push — main ( 450654...a3bcd5 )
by Breno
01:48
created
src/Rules/UseRuleSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class UseRuleSet implements Rule
13 13
 {
14 14
     public function __construct(
15
-        private object|string $objectOrClass,
15
+        private object | string $objectOrClass,
16 16
         private string $property
17 17
     ) {
18 18
     }
Please login to merge, or discard this patch.
src/AbstractRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         return
31 31
             $this->isValid($input, $context) ?
32
-                ErrorReporting::success() :
33
-                (new ErrorReporting)->addError($this->message, $this->getField(), $this);
32
+                ErrorReporting::success() : (new ErrorReporting)->addError($this->message, $this->getField(), $this);
34 33
     }
35 34
 
36 35
     protected function className(): string
Please login to merge, or discard this patch.