|
@@ -66,7 +66,7 @@ discard block |
|
|
block discarded – undo |
|
66
|
66
|
* |
|
67
|
67
|
* @return string[]|null |
|
68
|
68
|
*/ |
|
69
|
|
- protected function refreshGetScope(array $parameters): ?array |
|
|
69
|
+ protected function refreshGetScope(array $parameters): ? array |
|
70
|
70
|
{ |
|
71
|
71
|
$scope = $this->refreshReadStringValue($parameters, 'scope'); |
|
72
|
72
|
|
|
@@ -83,7 +83,7 @@ discard block |
|
|
block discarded – undo |
|
83
|
83
|
* @SuppressWarnings(PHPMD.NPathComplexity) |
|
84
|
84
|
* @SuppressWarnings(PHPMD.CyclomaticComplexity) |
|
85
|
85
|
*/ |
|
86
|
|
- protected function refreshIssueToken(array $parameters, ?ClientInterface $determinedClient): ResponseInterface |
|
|
86
|
+ protected function refreshIssueToken(array $parameters, ?ClientInterface $determinedClient) : ResponseInterface |
|
87
|
87
|
{ |
|
88
|
88
|
if (($refreshValue = $this->refreshGetValue($parameters)) === null) { |
|
89
|
89
|
throw new OAuthTokenBodyException(OAuthTokenBodyException::ERROR_INVALID_REQUEST); |
Please login to merge, or discard this patch.