@@ -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); |
@@ -84,7 +84,7 @@ |
||
84 | 84 | protected function boardsGetCall($query, $url, $pagination = false) |
85 | 85 | { |
86 | 86 | $getString = UrlHelper::buildRequestString($query); |
87 | - $response = $this->request->exec($url . "?{$getString}"); |
|
87 | + $response = $this->request->exec($url."?{$getString}"); |
|
88 | 88 | if ($pagination) { |
89 | 89 | return $this->response->getPaginationData($response); |
90 | 90 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | */ |
71 | 71 | protected function _checkCredentials($username, $password) |
72 | 72 | { |
73 | - if (!$username || !$password) { |
|
73 | + if ( ! $username || ! $password) { |
|
74 | 74 | throw new LogicException('You must set username and password to login.'); |
75 | 75 | } |
76 | 76 | } |