@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function init($config = null) |
| 17 | 17 | { |
| 18 | - if(!$config) { |
|
| 18 | + if (!$config) { |
|
| 19 | 19 | $config = $this->getConfig()['guzzle']; |
| 20 | 20 | } |
| 21 | 21 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function init($config = null) |
| 17 | 17 | { |
| 18 | - if(!$config) { |
|
| 18 | + if (!$config) { |
|
| 19 | 19 | $config = $this->getConfig()['guzzle']; |
| 20 | 20 | } |
| 21 | 21 | |
@@ -77,8 +77,7 @@ |
||
| 77 | 77 | public function transformCollection($raw) |
| 78 | 78 | { |
| 79 | 79 | $collection = new ArrayCollection(); |
| 80 | - foreach ($raw->collection as $artist) |
|
| 81 | - { |
|
| 80 | + foreach ($raw->collection as $artist) { |
|
| 82 | 81 | $collection->add($this->transformSingle($artist)); |
| 83 | 82 | } |
| 84 | 83 | |