Completed
Push — develop ( 8b072f...ea64f2 )
by Stephen
01:41
created
src/SsoServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/Controllers/SsoController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.