@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | protected function makeState() |
25 | 25 | { |
26 | - return tap(str_random(64), function ($state) { |
|
26 | + return tap(str_random(64), function($state) { |
|
27 | 27 | $this->app['request']->getSession()->set('state', $state); |
28 | 28 | }); |
29 | 29 | } |
@@ -26,11 +26,11 @@ |
||
26 | 26 | */ |
27 | 27 | public function register(Container $pimple) |
28 | 28 | { |
29 | - $pimple['sso'] = function ($app) { |
|
29 | + $pimple['sso'] = function($app) { |
|
30 | 30 | return new SsoClient($app); |
31 | 31 | }; |
32 | 32 | |
33 | - $pimple['oauth'] = function ($app) { |
|
33 | + $pimple['oauth'] = function($app) { |
|
34 | 34 | if (!$app['request']->hasSession()) { |
35 | 35 | $app['request']->setSession(new Session()); |
36 | 36 | } |