Passed
Push — master ( 8b102c...8b3bfd )
by Pieter
01:46
created
src/Exceptions/ValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             $this->exceptions = $errors->getExceptions();
32 32
             $tmp = reset($this->exceptions);
33 33
             if ($tmp) {
34
-                $previous = reset($tmp) ? : null;
34
+                $previous = reset($tmp) ?: null;
35 35
             }
36 36
         }
37 37
         parent::__construct(422, 'A validation error occurred', $previous);
Please login to merge, or discard this patch.