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