Passed
Push — main ( 954523...045e26 )
by Breno
01:54
created
src/AbstractRule.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         return
36 36
             $this->isValid($input, $context) ?
37
-                ErrorReporting::success() :
38
-                (new ErrorReporting)->addError($this->message(), $this->getField(), $this);
37
+                ErrorReporting::success() : (new ErrorReporting)->addError($this->message(), $this->getField(), $this);
39 38
     }
40 39
 
41 40
     protected function className(): string
Please login to merge, or discard this patch.
src/Translation/Translator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 {
8 8
     private static TranslatorInterface $translator;
9 9
 
10
-    public static function setDefault(TranslatorInterface|callable $translator, bool $compose = true): void
10
+    public static function setDefault(TranslatorInterface | callable $translator, bool $compose = true): void
11 11
     {
12 12
         if ($translator instanceof TranslatorInterface) {
13 13
             self::$translator = $translator;
Please login to merge, or discard this patch.