@@ -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); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $data['options'] = $data; |
| 24 | 24 | $get = Request::createRequestData($data, $sourceUrl, $bookmarks); |
| 25 | 25 | $getString = UrlHelper::buildRequestString($get); |
| 26 | - $response = $this->getRequest()->exec($url . '?' . $getString); |
|
| 26 | + $response = $this->getRequest()->exec($url.'?'.$getString); |
|
| 27 | 27 | |
| 28 | 28 | return $this->getResponse()->getPaginationData($response); |
| 29 | 29 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | $res = $this->getPaginatedData($username, UrlHelper::RESOURCE_USER_INFO, "/$username/", 1); |
| 30 | 30 | $res = iterator_to_array($res); |
| 31 | 31 | |
| 32 | - return !empty($res) ? $res[0] : null; |
|
| 32 | + return ! empty($res) ? $res[0] : null; |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |