summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php')
-rw-r--r--vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php b/vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php
index f757e79821..f307aa5386 100644
--- a/vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php
+++ b/vendor/symfony/cache/Tests/DependencyInjection/CachePoolPassTest.php
@@ -71,10 +71,10 @@ class CachePoolPassTest extends TestCase
$container->setParameter('kernel.container_class', 'app');
$container->setParameter('cache.prefix.seed', 'foo');
$cachePool = new Definition();
- $cachePool->addTag('cache.pool', array(
+ $cachePool->addTag('cache.pool', [
'provider' => 'foobar',
'default_lifetime' => 3,
- ));
+ ]);
$cachePool->addArgument(null);
$cachePool->addArgument(null);
$cachePool->addArgument(null);
@@ -94,10 +94,10 @@ class CachePoolPassTest extends TestCase
$container->setParameter('kernel.container_class', 'app');
$container->setParameter('cache.prefix.seed', 'foo');
$cachePool = new Definition();
- $cachePool->addTag('cache.pool', array(
+ $cachePool->addTag('cache.pool', [
'name' => 'foobar',
'provider' => 'foobar',
- ));
+ ]);
$cachePool->addArgument(null);
$cachePool->addArgument(null);
$cachePool->addArgument(null);
@@ -122,7 +122,7 @@ class CachePoolPassTest extends TestCase
$adapter->addTag('cache.pool');
$container->setDefinition('app.cache_adapter', $adapter);
$cachePool = new ChildDefinition('app.cache_adapter');
- $cachePool->addTag('cache.pool', array('foobar' => 123));
+ $cachePool->addTag('cache.pool', ['foobar' => 123]);
$container->setDefinition('app.cache_pool', $cachePool);
$this->cachePoolPass->process($container);