Completed
Pull Request — master (#33)
by vincent
03:38
created
src/VfacTmdb/Tmdb.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -149,12 +149,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.