@@ -2,9 +2,7 @@ |
||
2 | 2 | namespace Pbxg33k\MusicInfo\DependencyInjection; |
3 | 3 | |
4 | 4 | use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
5 | -use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; |
|
6 | 5 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
7 | -use Symfony\Component\Config\FileLocator; |
|
8 | 6 | |
9 | 7 | class MusicInfoExtension extends Extension |
10 | 8 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Pbxg33k\MusicInfo\Model\IMusicService; |
9 | 9 | use Pbxg33k\MusicInfo\Service\BaseService; |
10 | 10 | use Pbxg33k\Traits\PropertyTrait; |
11 | -use Symfony\Component\Config\FileLocator; |
|
12 | 11 | |
13 | 12 | class MusicInfo |
14 | 13 | { |
@@ -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 |