@@ -20,7 +20,7 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | public function load(array $configs, ContainerBuilder $container) |
| 22 | 22 | { |
| 23 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 23 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 24 | 24 | $loader->load('services.yml'); |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -35,8 +35,8 @@ |
||
| 35 | 35 | |
| 36 | 36 | foreach ($listing as $item) { |
| 37 | 37 | |
| 38 | - if($item instanceof Asset\Image) { |
|
| 39 | - if(file_exists($item->getFileSystemPath())) { |
|
| 38 | + if ($item instanceof Asset\Image) { |
|
| 39 | + if (file_exists($item->getFileSystemPath())) { |
|
| 40 | 40 | |
| 41 | 41 | if (!in_array($item->getMimetype(), $this->mimeTypes)) { |
| 42 | 42 | return false; |