summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Tests/CacheClearer
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Tests/CacheClearer')
-rw-r--r--vendor/symfony/http-kernel/Tests/CacheClearer/ChainCacheClearerTest.php2
-rw-r--r--vendor/symfony/http-kernel/Tests/CacheClearer/Psr6CacheClearerTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/vendor/symfony/http-kernel/Tests/CacheClearer/ChainCacheClearerTest.php b/vendor/symfony/http-kernel/Tests/CacheClearer/ChainCacheClearerTest.php
index 5f09e4b226..9892db20ea 100644
--- a/vendor/symfony/http-kernel/Tests/CacheClearer/ChainCacheClearerTest.php
+++ b/vendor/symfony/http-kernel/Tests/CacheClearer/ChainCacheClearerTest.php
@@ -35,7 +35,7 @@ class ChainCacheClearerTest extends TestCase
->expects($this->once())
->method('clear');
- $chainClearer = new ChainCacheClearer(array($clearer));
+ $chainClearer = new ChainCacheClearer([$clearer]);
$chainClearer->clear(self::$cacheDir);
}
diff --git a/vendor/symfony/http-kernel/Tests/CacheClearer/Psr6CacheClearerTest.php b/vendor/symfony/http-kernel/Tests/CacheClearer/Psr6CacheClearerTest.php
index e1d2fe82e9..d24131dae5 100644
--- a/vendor/symfony/http-kernel/Tests/CacheClearer/Psr6CacheClearerTest.php
+++ b/vendor/symfony/http-kernel/Tests/CacheClearer/Psr6CacheClearerTest.php
@@ -24,7 +24,7 @@ class Psr6CacheClearerTest extends TestCase
->expects($this->once())
->method('clear');
- (new Psr6CacheClearer(array('pool' => $pool)))->clear('');
+ (new Psr6CacheClearer(['pool' => $pool]))->clear('');
}
public function testClearPool()
@@ -34,7 +34,7 @@ class Psr6CacheClearerTest extends TestCase
->expects($this->once())
->method('clear');
- (new Psr6CacheClearer(array('pool' => $pool)))->clearPool('pool');
+ (new Psr6CacheClearer(['pool' => $pool]))->clearPool('pool');
}
/**