@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * {@inheritdoc} |
| 32 | 32 | */ |
| 33 | - public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface |
|
| 33 | + public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface |
|
| 34 | 34 | { |
| 35 | 35 | return new OAuth2Error(405, $data, $response); |
| 36 | 36 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * {@inheritdoc} |
| 32 | 32 | */ |
| 33 | - public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface |
|
| 33 | + public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface |
|
| 34 | 34 | { |
| 35 | 35 | return new OAuth2Error(501, $data, $response); |
| 36 | 36 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * {@inheritdoc} |
| 32 | 32 | */ |
| 33 | - public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface |
|
| 33 | + public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface |
|
| 34 | 34 | { |
| 35 | 35 | return new OAuth2Error(400, $data, $response); |
| 36 | 36 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * {@inheritdoc} |
| 32 | 32 | */ |
| 33 | - public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface |
|
| 33 | + public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface |
|
| 34 | 34 | { |
| 35 | 35 | return new OAuth2Error(403, $data, $response); |
| 36 | 36 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -29,5 +29,5 @@ discard block |
||
| 29 | 29 | * |
| 30 | 30 | * @return OAuth2ResponseInterface |
| 31 | 31 | */ |
| 32 | - public function createResponse(array $data, ResponseInterface &$response): OAuth2ResponseInterface; |
|
| 32 | + public function createResponse(array $data, ResponseInterface & $response): OAuth2ResponseInterface; |
|
| 33 | 33 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * @param array $data |
| 28 | 28 | * @param \Exception|null $previous |
| 29 | 29 | */ |
| 30 | - public function __construct(int $code, array $data, ?\Exception $previous = null) |
|
| 30 | + public function __construct(int $code, array $data, ? \Exception $previous = null) |
|
| 31 | 31 | { |
| 32 | 32 | $this->data = $data; |
| 33 | 33 | parent::__construct('', $code, $previous); |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * |
| 48 | 48 | * @return null|ResourceServerId |
| 49 | 49 | */ |
| 50 | - public function findResourceServerInformationInTheRequest(ServerRequestInterface $request, ?TokenIntrospectionEndpointAuthMethodInterface &$authenticationMethod, &$resourceServerCredentials = null): ?ResourceServerId |
|
| 50 | + public function findResourceServerInformationInTheRequest(ServerRequestInterface $request, ? TokenIntrospectionEndpointAuthMethodInterface & $authenticationMethod, &$resourceServerCredentials = null) : ? ResourceServerId |
|
| 51 | 51 | { |
| 52 | 52 | $resourceServerId = null; |
| 53 | 53 | $resourceServerCredentials = null; |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * |
| 28 | 28 | * @return null|ResourceServerId Return the Resource Server public ID if found else null. If credentials have are needed to authenticate the Resource Server, they are set to the variable $resourceServerCredentials |
| 29 | 29 | */ |
| 30 | - public function findResourceServerId(ServerRequestInterface $request, &$resourceServerCredentials = null): ?ResourceServerId; |
|
| 30 | + public function findResourceServerId(ServerRequestInterface $request, &$resourceServerCredentials = null): ? ResourceServerId; |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * This method verifies the Resource Server credentials in the request. |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * The MIT License (MIT) |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | * |
| 35 | 35 | * @return null|ClientId Return the client public ID if found else null. If credentials have are needed to authenticate the client, they are set to the variable $clientCredentials |
| 36 | 36 | */ |
| 37 | - public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ?ClientId; |
|
| 37 | + public function findClientId(ServerRequestInterface $request, &$clientCredentials = null): ? ClientId; |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @param DataBag $command_parameters |