Passed
Push — develop ( 47057d...100e75 )
by Benjamin
05:14
created
src/services/Oauth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             'refreshToken' => $token->getRefreshToken(),
81 81
             'resourceOwnerId' => $token->getResourceOwnerId(),
82 82
             'values' => $token->getValues(),
83
-        ];;
83
+        ]; ;
84 84
 
85 85
         return Facebook::$plugin->getAccounts()->saveAccount($account);
86 86
     }
Please login to merge, or discard this patch.
src/base/PluginTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
         $oauthClientId = $this->getClientId();
89 89
         $oauthClientSecret = $this->getClientSecret();
90 90
 
91
-        if(!empty($oauthClientId) && !empty($oauthClientSecret))
91
+        if (!empty($oauthClientId) && !empty($oauthClientSecret))
92 92
         {
93 93
             $token = Facebook::$plugin->getOauth()->getToken();
94 94
 
95
-            if($token)
95
+            if ($token)
96 96
             {
97 97
                 return true;
98 98
             }
Please login to merge, or discard this patch.