Fixing exceptions referencing old variables.
Signed-off-by: Ben Corlett <bencorlett@me.com>1.0
parent
3bb2f941a4
commit
42db96f49d
|
@ -28,7 +28,7 @@ class IDPException extends \Exception
|
|||
|
||||
}
|
||||
|
||||
parent::__construct($message['message'], $message['code']);
|
||||
parent::__construct($message, $code);
|
||||
}
|
||||
|
||||
public function getType()
|
||||
|
@ -63,4 +63,4 @@ class IDPException extends \Exception
|
|||
return $str . $this->message;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue