@@ -149,12 +149,12 @@ discard block |
||
149 | 149 | { |
150 | 150 | try { |
151 | 151 | $res = new \stdClass(); |
152 | - $method_name = strtolower($method).'Response'; |
|
152 | + $method_name = strtolower($method) . 'Response'; |
|
153 | 153 | $res = $this->http_request->$method_name($url, [], $form_params); |
154 | 154 | $response = $this->decodeRequest($res, $method, $url, $form_params); |
155 | 155 | return $response; |
156 | 156 | } catch (TmdbException $e) { |
157 | - $this->logger->error('sendRequest failed : '.$e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params)); |
|
157 | + $this->logger->error('sendRequest failed : ' . $e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params)); |
|
158 | 158 | throw $e; |
159 | 159 | } |
160 | 160 | } |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | default: |
327 | 327 | throw new IncorrectParamException; |
328 | 328 | } |
329 | - $return['sort_by'] = 'created_at.'.$options['sort_by']; |
|
329 | + $return['sort_by'] = 'created_at.' . $options['sort_by']; |
|
330 | 330 | } |
331 | 331 | } |
332 | 332 |