@@ -15,7 +15,7 @@ |
||
| 15 | 15 | public function configure() |
| 16 | 16 | { |
| 17 | 17 | $this->setName('alpixel:media:cleanup') |
| 18 | - ->setDescription('Cleaning unused media'); |
|
| 18 | + ->setDescription('Cleaning unused media'); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function execute(InputInterface $input, OutputInterface $output) |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | parent::configure(); |
| 18 | 18 | $this->setName('alpixel:media:liip_cleanup') |
| 19 | - ->setDescription('Cleaning liip cache folders'); |
|
| 19 | + ->setDescription('Cleaning liip cache folders'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function execute(InputInterface $input, OutputInterface $output) |
@@ -50,8 +50,9 @@ |
||
| 50 | 50 | return $this->transformSingleEntity($data); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - if (is_array($data)) |
|
| 54 | - return $data; |
|
| 53 | + if (is_array($data)) { |
|
| 54 | + return $data; |
|
| 55 | + } |
|
| 55 | 56 | |
| 56 | 57 | $return = []; |
| 57 | 58 | $data = explode('#&#', $data); |