From 6cc5de776260547252370f5890bda776045a7db6 Mon Sep 17 00:00:00 2001 From: Konstantin Vytyagov Date: Mon, 19 Feb 2018 09:53:27 +0300 Subject: [PATCH] add manual convert string httpCode to int --- lib/OAuth2ServerException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); }