Passed
Push — main ( 074ebe...9be93f )
by Breno
01:36
created
src/Exception/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function __construct(array $errors, ?string $message = "", int $code = 400, ?Throwable $previous = null)
21 21
     {
22 22
         $this->errors = array_filter($errors, fn($e) => $e instanceof Error);
23
-        $message = $message ?? 'Input validation failed' . PHP_EOL . $this->errorsAsString();
23
+        $message = $message ?? 'Input validation failed'.PHP_EOL.$this->errorsAsString();
24 24
         parent::__construct($message, $code, $previous);
25 25
     }
26 26
 
Please login to merge, or discard this patch.
src/Exception/ParseErrorsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 $error['field'] ?? '_error',
34 34
                 $error['message'],
35 35
                 $error['type'] ?? ''
36
-            ) . PHP_EOL;
36
+            ).PHP_EOL;
37 37
         }
38 38
 
39 39
         return $errors;
Please login to merge, or discard this patch.