From b9812ba06ac16899df2a25f0abf25962ae3273f2 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 30 May 2023 08:36:17 +0000 Subject: update composer libs --- vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php | 3 +-- vendor/bshaffer/oauth2-server-php/src/OAuth2/ResponseInterface.php | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'vendor/bshaffer/oauth2-server-php/src') diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php index 88c1ad5f7..be1eaa2ac 100644 --- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php +++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php @@ -140,11 +140,10 @@ class Response implements ResponseInterface } /** - * @param int $statusCode * @param string $text * @throws InvalidArgumentException */ - public function setStatusCode($statusCode, $text = null) + public function setStatusCode(int $statusCode, $text = null) { $this->statusCode = (int) $statusCode; if ($this->isInvalid()) { diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/ResponseInterface.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/ResponseInterface.php index fe920864a..df4fa48f5 100644 --- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/ResponseInterface.php +++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/ResponseInterface.php @@ -20,10 +20,7 @@ interface ResponseInterface */ public function addHttpHeaders(array $httpHeaders); - /** - * @param int $statusCode - */ - public function setStatusCode($statusCode); + public function setStatusCode(int $statusCode); /** * @param int $statusCode -- cgit v1.2.3