@@ -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); |
@@ -102,7 +102,7 @@ |
||
102 | 102 | |
103 | 103 | $response = $this->request->exec(UrlHelper::RESOURCE_LOGIN, $postString); |
104 | 104 | $result = $this->response->checkErrorInResponse($response); |
105 | - if (!$result) { |
|
105 | + if ( ! $result) { |
|
106 | 106 | throw new AuthException($this->response->getLastError()['message']); |
107 | 107 | } |
108 | 108 | $this->request->setLoggedIn(); |