Passed
Branch master (30661f)
by Alexandre
03:15
created
src/ScopePolicy/ScopePolicyManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         if (!empty($supportedScopes)) {
102 102
             if (!empty(array_diff($scopes, $supportedScopes))) {
103 103
                 throw new OAuthException('invalid_scope',
104
-                    'The request scope is invalid. Supported scopes : ' . implode(', ', $supportedScopes),
104
+                    'The request scope is invalid. Supported scopes : '.implode(', ', $supportedScopes),
105 105
                     'https://tools.ietf.org/html/rfc6749#section-4.1');
106 106
             }
107 107
         }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         if ($client instanceof RegisteredClient && !empty($supportedScopes)) {
128 128
             if (!empty(array_diff($scopes, $supportedScopes))) {
129 129
                 throw new OAuthException('invalid_scope',
130
-                    'The request scope is invalid. Supported scopes : ' . implode(', ', $supportedScopes),
130
+                    'The request scope is invalid. Supported scopes : '.implode(', ', $supportedScopes),
131 131
                     'https://tools.ietf.org/html/rfc6749#section-4.1');
132 132
             }
133 133
         }
Please login to merge, or discard this patch.