@@ -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); |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | { |
| 136 | 136 | $get = Request::createRequestData(['options' => ['board_id' => $boardId]], $sourceUrl, $bookmarks); |
| 137 | 137 | $getString = UrlHelper::buildRequestString($get); |
| 138 | - $response = $this->request->exec($url . '?' . $getString); |
|
| 138 | + $response = $this->request->exec($url.'?'.$getString); |
|
| 139 | 139 | |
| 140 | 140 | return $this->response->getPaginationData($response); |
| 141 | 141 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $data = ['options' => ['username' => $username]]; |
| 31 | 31 | $get = Request::createRequestData($data, $sourceUrl, $bookmarks); |
| 32 | 32 | $getString = UrlHelper::buildRequestString($get); |
| 33 | - $response = $this->request->exec($url . '?' . $getString); |
|
| 33 | + $response = $this->request->exec($url.'?'.$getString); |
|
| 34 | 34 | |
| 35 | 35 | return $this->response->getPaginationData($response); |
| 36 | 36 | } |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | protected function _checkCredentials($username, $password) |
| 145 | 145 | { |
| 146 | - if (!$username || !$password) { |
|
| 146 | + if ( ! $username || ! $password) { |
|
| 147 | 147 | throw new LogicException('You must set username and password to login.'); |
| 148 | 148 | } |
| 149 | 149 | } |