@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public function boot() |
21 | 21 | { |
22 | - $this->app['router']->group(["middleware" => ["web", "auth"]], function (Router $router) { |
|
22 | + $this->app['router']->group(["middleware" => ["web", "auth"]], function(Router $router) { |
|
23 | 23 | $router->get($this->app['config']->get('services.discourse.route'), [ |
24 | 24 | 'uses' => 'Spinen\Discourse\Controllers\SsoController@login', |
25 | 25 | 'as' => 'sso.login', |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | */ |
78 | 78 | public function login(Request $request) |
79 | 79 | { |
80 | - if (! ($this->sso->validatePayload($payload = $request->get('sso'), $request->get('sig')))) { |
|
80 | + if (!($this->sso->validatePayload($payload = $request->get('sso'), $request->get('sig')))) { |
|
81 | 81 | abort(403); //Forbidden |
82 | 82 | } |
83 | 83 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | public function parseUserValue($property) |
116 | 116 | { |
117 | - if (! is_string($property)) { |
|
117 | + if (!is_string($property)) { |
|
118 | 118 | return $property; |
119 | 119 | } |
120 | 120 |