summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/Simple/PhpArrayCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/Simple/PhpArrayCache.php')
-rw-r--r--vendor/symfony/cache/Simple/PhpArrayCache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/symfony/cache/Simple/PhpArrayCache.php b/vendor/symfony/cache/Simple/PhpArrayCache.php
index b913aee2b7..6ba8527885 100644
--- a/vendor/symfony/cache/Simple/PhpArrayCache.php
+++ b/vendor/symfony/cache/Simple/PhpArrayCache.php
@@ -147,7 +147,7 @@ class PhpArrayCache implements CacheInterface, PruneableInterface, ResettableInt
}
$deleted = true;
- $fallbackKeys = array();
+ $fallbackKeys = [];
foreach ($keys as $key) {
if (!\is_string($key)) {
@@ -196,7 +196,7 @@ class PhpArrayCache implements CacheInterface, PruneableInterface, ResettableInt
}
$saved = true;
- $fallbackValues = array();
+ $fallbackValues = [];
foreach ($values as $key => $value) {
if (!\is_string($key) && !\is_int($key)) {
@@ -219,7 +219,7 @@ class PhpArrayCache implements CacheInterface, PruneableInterface, ResettableInt
private function generateItems(array $keys, $default)
{
- $fallbackKeys = array();
+ $fallbackKeys = [];
foreach ($keys as $key) {
if (isset($this->keys[$key])) {