Skip to content

Commit fffe307

Browse files
committed
Merge pull request #25 from Nyholm/patch-2
sensiolabs insight fix
2 parents 934fde8 + ce1ab27 commit fffe307

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Command/CacheFlushCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Cache\CacheBundle\Command;
1313

1414
use Cache\Taggable\TaggablePoolInterface;
15-
use Psr\Cache\CacheItemPoolInterface;
1615
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
1716
use Symfony\Component\Console\Input\InputArgument;
1817
use Symfony\Component\Console\Input\InputInterface;
@@ -88,7 +87,7 @@ private function clearCacheForType($type)
8887
*/
8988
private function doClearCache($type, $serviceId)
9089
{
91-
/** @type CacheItemPoolInterface $service */
90+
/** @type \Psr\Cache\CacheItemPoolInterface $service */
9291
$service = $this->getContainer()->get($serviceId);
9392
if ($service instanceof TaggablePoolInterface) {
9493
$service->clear([$type]);

0 commit comments

Comments
 (0)