We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 934fde8 + ce1ab27 commit fffe307Copy full SHA for fffe307
src/Command/CacheFlushCommand.php
@@ -12,7 +12,6 @@
12
namespace Cache\CacheBundle\Command;
13
14
use Cache\Taggable\TaggablePoolInterface;
15
-use Psr\Cache\CacheItemPoolInterface;
16
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
17
use Symfony\Component\Console\Input\InputArgument;
18
use Symfony\Component\Console\Input\InputInterface;
@@ -88,7 +87,7 @@ private function clearCacheForType($type)
88
87
*/
89
private function doClearCache($type, $serviceId)
90
{
91
- /** @type CacheItemPoolInterface $service */
+ /** @type \Psr\Cache\CacheItemPoolInterface $service */
92
$service = $this->getContainer()->get($serviceId);
93
if ($service instanceof TaggablePoolInterface) {
94
$service->clear([$type]);
0 commit comments