Completed
Branch account (35ca3e)
by vincent
02:39
created
src/VfacTmdb/Tmdb.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,8 @@  discard block
 block discarded – undo
171 171
             $res = $this->http_request->$method_name($url, [], $form_params);
172 172
             $response = $this->decodeRequest($res, $method, $url, $form_params);
173 173
             return $response;
174
-        } catch (TmdbException $e) {
174
+        }
175
+        catch (TmdbException $e) {
175 176
             $this->logger->error('sendRequest failed : '.$e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params));
176 177
             throw $e;
177 178
         }
@@ -236,7 +237,8 @@  discard block
 block discarded – undo
236 237
                 $this->configuration = $this->getRequest('configuration');
237 238
             }
238 239
             return $this->configuration;
239
-        } catch (TmdbException $ex) {
240
+        }
241
+        catch (TmdbException $ex) {
240 242
             throw $ex;
241 243
         }
242 244
     }
Please login to merge, or discard this patch.