Skip to content

Commit e8e8d18

Browse files
committed
Merge pull request #13 from Nyholm/addTag
We should use addTag()
2 parents a704352 + 707695c commit e8e8d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/CacheAdapterExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function load(array $configs, ContainerBuilder $container)
5858
$def->setFactory([new Reference($arguments['factory']), 'createAdapter'])
5959
->addArgument($arguments['options']);
6060

61-
$def->setTags(['cache.provider' => []]);
61+
$def->addTag('cache.provider');
6262
}
6363

6464
$container->setAlias('cache', 'cache.provider.'.$first);

0 commit comments

Comments
 (0)