Passed
Push — main ( 95f3d8...c48699 )
by Breno
01:39
created
src/AbstractRule.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,8 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         return
38 38
             static::MESSAGE === self::MESSAGE ?
39
-                Translator::translate(static::MESSAGE, $this->className()) :
40
-                Translator::translate(static::MESSAGE);
39
+                Translator::translate(static::MESSAGE, $this->className()) : Translator::translate(static::MESSAGE);
41 40
     }
42 41
 
43 42
     /** @inheritDoc */
@@ -45,8 +44,7 @@  discard block
 block discarded – undo
45 44
     {
46 45
         return
47 46
             $this->isValid($input, $context) ?
48
-                ErrorReporting::success() :
49
-                (new ErrorReporting)->addError($this->message(), $this->getField(), $this);
47
+                ErrorReporting::success() : (new ErrorReporting)->addError($this->message(), $this->getField(), $this);
50 48
     }
51 49
 
52 50
     protected function className(): string
Please login to merge, or discard this patch.