Skip to content

Commit af344d4

Browse files
committed
Merge branch 'master' of git://github.com/php-cache/doctrine-adapter-bundle
* 'master' of git://github.com/php-cache/doctrine-adapter-bundle: Renamed CachePoolItem to CachePool
2 parents 054a329 + beb37fe commit af344d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DependencyInjection/DoctrineAdapterExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1111
use Symfony\Component\DependencyInjection\Definition;
1212
use Symfony\Component\DependencyInjection\Reference;
13-
use Cache\Doctrine\CachePoolItem;
13+
use Cache\Doctrine\CachePool;
1414

1515
/**
1616
*
@@ -160,7 +160,7 @@ protected function createPsr7CompliantService(ContainerBuilder $container, $doct
160160
$serviceId = 'cache.doctrine_adapter.provider.'.$name;
161161

162162
// Register the CacheItemPoolInterface definition
163-
$def = new Definition(CachePoolItem::class);
163+
$def = new Definition(CachePool::class);
164164
$def->addArgument(new Reference($doctrineServiceId));
165165
$def->setTags(['cache.provider'=>[]]);
166166

0 commit comments

Comments
 (0)