Completed
Pull Request — master (#71)
by Sergey
09:15
created
src/Api/Providers/ProviderLoginCheckWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $isLoggedIn = $this->provider->getRequest()->isLoggedIn();
50 50
         $methodRequiresLogin = $this->provider->checkMethodRequiresLogin($method);
51 51
 
52
-        if ($methodRequiresLogin && !$isLoggedIn) {
52
+        if ($methodRequiresLogin && ! $isLoggedIn) {
53 53
             throw new AuthException("You must log in before.");
54 54
         }
55 55
     }
Please login to merge, or discard this patch.