Simplified syntax
parent
1f1b334f46
commit
16578d1d01
|
@ -21,7 +21,7 @@ class JsonValidationException extends Exception
|
|||
{
|
||||
protected $errors;
|
||||
|
||||
public function __construct($message, $errors = array(), \Exception $previous = null)
|
||||
public function __construct($message, $errors = array(), Exception $previous = null)
|
||||
{
|
||||
$this->errors = $errors;
|
||||
parent::__construct($message, 0, $previous);
|
||||
|
|
Loading…
Reference in New Issue