diff --git a/src/League/OAuth2/Client/Exception/IDPException.php b/src/League/OAuth2/Client/Exception/IDPException.php index 4b0ebad..74c52df 100644 --- a/src/League/OAuth2/Client/Exception/IDPException.php +++ b/src/League/OAuth2/Client/Exception/IDPException.php @@ -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; } -} \ No newline at end of file +}