Test Setup Failed
Pull Request — master (#623)
by Alejandro Carstens
04:01
created
app/Services/Musixmatch.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
             $response = $this->jsonpDecode($this->get($uri));
79 79
             
80 80
             return $this->getLyrics($response);
81
-        }catch(\Exception $e){
81
+        } catch(\Exception $e){
82 82
             Log::error($e);
83 83
 
84 84
             return false;
Please login to merge, or discard this patch.
app/Services/RESTfulService.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,9 @@
 block discarded – undo
87 87
             if ($this->responseFormat === 'json') {
88 88
                 $response = json_decode($body);
89 89
                 
90
-                if(!is_null($response)) return $response;
90
+                if(!is_null($response)) {
91
+                    return $response;
92
+                }
91 93
             }
92 94
 
93 95
             if ($this->responseFormat === 'xml') {
Please login to merge, or discard this patch.