@@ -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: |
@@ -152,9 +152,9 @@ |
||
| 152 | 152 | */ |
| 153 | 153 | public function search(string $filtersQuery) |
| 154 | 154 | { |
| 155 | - $end = '/search'.$this->endpoint(); |
|
| 155 | + $end = '/search' . $this->endpoint(); |
|
| 156 | 156 | $query = [ |
| 157 | - 'query' => '"'.$filtersQuery.'"', |
|
| 157 | + 'query' => '"' . $filtersQuery . '"', |
|
| 158 | 158 | ]; |
| 159 | 159 | return $this->api()->request('GET', $end, null, $query); |
| 160 | 160 | } |