Completed
Push — develop ( 43ee76...137e34 )
by Stephen
12s
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.