Completed
Pull Request — master (#71)
by Sergey
09:15
created
src/Helpers/Providers/Traits/SearchTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function searchCall($query, $scope, $bookmarks = [])
26 26
     {
27
-        $url = UrlHelper::getSearchUrl(! empty($bookmarks));
27
+        $url = UrlHelper::getSearchUrl( ! empty($bookmarks));
28 28
         $get = $this->createSearchRequest($query, $scope, $bookmarks);
29 29
         $url = $url.'?'.UrlHelper::buildRequestString($get);
30 30
         $response = $this->request->exec($url);
Please login to merge, or discard this patch.
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.