diff options
author | Mario <mario@mariovavti.com> | 2023-07-11 18:57:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-07-11 18:57:18 +0000 |
commit | 63fb8d03929189bfc8cbf53d23cb79984fe2c3cd (patch) | |
tree | b9f74bd8c7721dca7ece251fdbb9a7c4fe9b949a /vendor/bshaffer/oauth2-server-php | |
parent | 57796a2f962d045445cbf69237bb3d6786e4d0d4 (diff) | |
parent | 384de0925e502cfa8fe6ca287530ef5529fdff10 (diff) | |
download | volse-hubzilla-63fb8d03929189bfc8cbf53d23cb79984fe2c3cd.tar.gz volse-hubzilla-63fb8d03929189bfc8cbf53d23cb79984fe2c3cd.tar.bz2 volse-hubzilla-63fb8d03929189bfc8cbf53d23cb79984fe2c3cd.zip |
Merge branch '8.6RC'8.6
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php')
-rw-r--r-- | vendor/bshaffer/oauth2-server-php/src/OAuth2/Response.php | 3 | ||||
-rw-r--r-- | vendor/bshaffer/oauth2-server-php/src/OAuth2/ResponseInterface.php | 5 |
2 files changed, 2 insertions, 6 deletions
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 |