@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public static function create(RequestException $e) { |
| 31 | 31 | |
| 32 | - if($response = $e->getResponse()) { |
|
| 32 | + if ($response = $e->getResponse()) { |
|
| 33 | 33 | |
| 34 | 34 | switch ($response->getStatusCode()) { |
| 35 | 35 | case 400: |
@@ -153,9 +153,9 @@ |
||
| 153 | 153 | */ |
| 154 | 154 | public function search(string $filtersQuery, $page = 1) |
| 155 | 155 | { |
| 156 | - $end = '/search'.$this->endpoint(); |
|
| 156 | + $end = '/search' . $this->endpoint(); |
|
| 157 | 157 | $query = [ |
| 158 | - 'query' => '"'.$filtersQuery.'"', |
|
| 158 | + 'query' => '"' . $filtersQuery . '"', |
|
| 159 | 159 | 'page' => $page |
| 160 | 160 | ]; |
| 161 | 161 | return $this->api()->request('GET', $end, null, $query); |