@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * Returns Logger Closure |
72 | 72 | * |
73 | - * @return callable |
|
73 | + * @return \Closure |
|
74 | 74 | */ |
75 | 75 | protected function getLoggerClosure(OutputInterface $output) |
76 | 76 | { |
@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Liip\ImagineBundle\Command; |
4 | 4 | |
5 | -use Liip\ImagineBundle\Imagine\Cache\CacheManager; |
|
6 | 5 | use Liip\ImagineBundle\Imagine\Cache\CacheWarmer; |
7 | -use Liip\ImagineBundle\Imagine\Data\DataManager; |
|
8 | -use Liip\ImagineBundle\Imagine\Filter\FilterManager; |
|
9 | 6 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
10 | 7 | use Symfony\Component\Console\Input\InputArgument; |
11 | 8 | use Symfony\Component\Console\Input\InputInterface; |
@@ -234,6 +234,9 @@ |
||
234 | 234 | return $successfulWarmedPaths; |
235 | 235 | } |
236 | 236 | |
237 | + /** |
|
238 | + * @param string $message |
|
239 | + */ |
|
237 | 240 | protected function log($message, $type = 'info') |
238 | 241 | { |
239 | 242 | if (is_callable($this->loggerClosure)) { |