Completed
Push — develop ( c583a3...5ac6e9 )
by Neomerx
14:50
created
src/Exceptions/OAuthTokenBodyException.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -71,24 +71,24 @@  discard block
 block discarded – undo
71 71
      * @link https://tools.ietf.org/html/rfc6749#section-5.2
72 72
      */
73 73
     const DEFAULT_MESSAGES = [
74
-        self::ERROR_INVALID_REQUEST => 'The request is missing a required parameter, includes an unsupported ' .
75
-            'parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes ' .
74
+        self::ERROR_INVALID_REQUEST => 'The request is missing a required parameter, includes an unsupported '.
75
+            'parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes '.
76 76
             'more than one mechanism for authenticating the client, or is otherwise malformed.',
77 77
 
78
-        self::ERROR_INVALID_CLIENT => 'Client authentication failed (e.g., unknown client, no client ' .
78
+        self::ERROR_INVALID_CLIENT => 'Client authentication failed (e.g., unknown client, no client '.
79 79
             'authentication included, or unsupported authentication method).',
80 80
 
81
-        self::ERROR_INVALID_GRANT => 'The provided authorization grant (e.g., authorization code, resource owner ' .
82
-            'credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in ' .
81
+        self::ERROR_INVALID_GRANT => 'The provided authorization grant (e.g., authorization code, resource owner '.
82
+            'credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in '.
83 83
             'the authorization request, or was issued to another client.',
84 84
 
85
-        self::ERROR_UNAUTHORIZED_CLIENT => 'The authenticated client is not authorized to use this ' .
85
+        self::ERROR_UNAUTHORIZED_CLIENT => 'The authenticated client is not authorized to use this '.
86 86
             'authorization grant type.',
87 87
 
88
-        self::ERROR_UNSUPPORTED_GRANT_TYPE => 'The authorization grant type is not supported by the ' .
88
+        self::ERROR_UNSUPPORTED_GRANT_TYPE => 'The authorization grant type is not supported by the '.
89 89
             'authorization server.',
90 90
 
91
-        self::ERROR_INVALID_SCOPE => 'The requested scope is invalid, unknown, malformed, or exceeds the scope ' .
91
+        self::ERROR_INVALID_SCOPE => 'The requested scope is invalid, unknown, malformed, or exceeds the scope '.
92 92
             'granted by the resource owner.',
93 93
     ];
94 94
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * @return string|null
168 168
      */
169
-    public function getErrorUri(): ?string
169
+    public function getErrorUri(): ? string
170 170
     {
171 171
         return $this->errorUri;
172 172
     }
Please login to merge, or discard this patch.
src/Exceptions/OAuthRedirectException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @return string|null
170 170
      */
171
-    public function getErrorUri(): ?string
171
+    public function getErrorUri(): ? string
172 172
     {
173 173
         return $this->errorUri;
174 174
     }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * @return null|string
178 178
      */
179
-    public function getState(): ?string
179
+    public function getState(): ? string
180 180
     {
181 181
         return $this->state;
182 182
     }
Please login to merge, or discard this patch.
src/Exceptions/OAuthTokenRedirectException.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     const DEFAULT_MESSAGES = [
30 30
         self::ERROR_INVALID_REQUEST =>
31
-            'The request is missing a required parameter, includes an invalid parameter value, ' .
31
+            'The request is missing a required parameter, includes an invalid parameter value, '.
32 32
             'includes a parameter more than once, or is otherwise malformed.',
33 33
 
34 34
         self::ERROR_UNAUTHORIZED_CLIENT =>
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
             'The requested scope is invalid, unknown, or malformed.',
45 45
 
46 46
         self::ERROR_SERVER_ERROR =>
47
-            'The authorization server encountered an unexpected condition ' .
47
+            'The authorization server encountered an unexpected condition '.
48 48
             'that prevented it from fulfilling the request.',
49 49
 
50 50
         self::ERROR_TEMPORARILY_UNAVAILABLE =>
51
-            'The authorization server is currently unable to handle the request due to ' .
51
+            'The authorization server is currently unable to handle the request due to '.
52 52
             'a temporary overloading or maintenance of the server.',
53 53
     ];
54 54
 }
Please login to merge, or discard this patch.