@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function __construct($errorCode, $errorMessage = null, ...$args) |
73 | 73 | { |
74 | - if(!is_int($errorCode)) { |
|
74 | + if (!is_int($errorCode)) { |
|
75 | 75 | //assume old code |
76 | 76 | if ($errorMessage !== null || !empty($args)) { |
77 | 77 | array_unshift($args, $errorMessage); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $errorMessage = $this->translateErrorMessage($errorMessage); |
84 | 84 | $n = count($args); |
85 | 85 | $previous = null; |
86 | - if($n > 0 && ($args[$n - 1] instanceof Throwable)) { |
|
86 | + if ($n > 0 && ($args[$n - 1] instanceof Throwable)) { |
|
87 | 87 | $previous = array_pop($args); |
88 | 88 | $n--; |
89 | 89 | } |