@@ -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', |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function castBooleansToString($property) |
83 | 83 | { |
84 | - if (! is_bool($property)) { |
|
84 | + if (!is_bool($property)) { |
|
85 | 85 | return $property; |
86 | 86 | } |
87 | 87 | |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | */ |
98 | 98 | public function login(Request $request) |
99 | 99 | { |
100 | - if (! ($this->sso->validatePayload($payload = $request->get('sso'), $request->get('sig')))) { |
|
100 | + if (!($this->sso->validatePayload($payload = $request->get('sso'), $request->get('sig')))) { |
|
101 | 101 | abort(403); //Forbidden |
102 | 102 | } |
103 | 103 | |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | */ |
135 | 135 | public function parseUserValue($property) |
136 | 136 | { |
137 | - if (! is_string($property)) { |
|
137 | + if (!is_string($property)) { |
|
138 | 138 | return $property; |
139 | 139 | } |
140 | 140 |