@@ -78,7 +78,7 @@ |
||
| 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; |
@@ -87,7 +87,9 @@ |
||
| 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') { |