@@ -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 | |
@@ -254,7 +254,8 @@ |
||
| 254 | 254 | { |
| 255 | 255 | $services = new ArrayCollection(); |
| 256 | 256 | |
| 257 | - switch(gettype($servicesArg)) { |
|
| 257 | + switch(gettype($servicesArg)) |
|
| 258 | + { |
|
| 258 | 259 | case "NULL": |
| 259 | 260 | $services = $this->getServices(); |
| 260 | 261 | break; |