Lint
This commit is contained in:
parent
7a865dbda9
commit
1455fc39e4
|
@ -303,7 +303,7 @@ class Exception extends \Exception
|
|||
$this->code = $code ?? $this->errors[$type]['code'];
|
||||
|
||||
// todo: Handle better PDOExceptions
|
||||
if(is_string($this->code)){
|
||||
if(is_string($this->code)) {
|
||||
$this->code = 500;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue