diff --git a/lib/OAuth2ServerException.php b/lib/OAuth2ServerException.php index 1655741..35c0e05 100644 --- a/lib/OAuth2ServerException.php +++ b/lib/OAuth2ServerException.php @@ -68,7 +68,7 @@ public function getHttpResponse() { return new Response( $this->getResponseBody(), - $this->getHttpCode(), + (int) $this->getHttpCode(), $this->getResponseHeaders() ); }