@@ -24,7 +24,7 @@ |
||
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); |
@@ -49,7 +49,7 @@ |
||
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 | } |