diff options
Diffstat (limited to 'src/OAuth2/ClientAssertionType/HttpBasic.php')
| -rw-r--r-- | src/OAuth2/ClientAssertionType/HttpBasic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OAuth2/ClientAssertionType/HttpBasic.php b/src/OAuth2/ClientAssertionType/HttpBasic.php index ef61203..0d80071 100644 --- a/src/OAuth2/ClientAssertionType/HttpBasic.php +++ b/src/OAuth2/ClientAssertionType/HttpBasic.php @@ -112,7 +112,7 @@ class HttpBasic implements ClientAssertionTypeInterface * * @ingroup oauth2_section_2 */ - public function getClientCredentials(RequestInterface $request, ResponseInterface $response = null) + public function getClientCredentials(RequestInterface $request, ?ResponseInterface $response = null) { if (!is_null($request->headers('PHP_AUTH_USER')) && !is_null($request->headers('PHP_AUTH_PW'))) { return array('client_id' => $request->headers('PHP_AUTH_USER'), 'client_secret' => $request->headers('PHP_AUTH_PW')); |
