Passed
Push — develop ( 9d953f...0c2d62 )
by nguereza
02:48
created
src/Service/Provider/OAuth2ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->app->bind(UserAuthenticationInterface::class, UserAuthentication::class);
106 106
 
107 107
         // Configuration
108
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
108
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
109 109
             return new Configuration($app->get(Config::class)->get('oauth2', []));
110 110
         });
111 111
 
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function addRoutes(Router $router): void
166 166
     {
167
-        $router->group('/oauth2', function (Router $router) {
167
+        $router->group('/oauth2', function(Router $router) {
168 168
             $router->post('/token', AccessTokenRequestHandler::class, 'oauth2_access_token');
169 169
             $router->add('/authorize', AuthorizationRequestHandler::class, ['GET', 'POST'], 'oauth2_authorization_code');
170 170
             $router->post('/revocation', TokenRevocationRequestHandler::class, 'oauth2_revoke_access_token');
Please login to merge, or discard this patch.