summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/LockRegistry.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/LockRegistry.php')
-rw-r--r--vendor/symfony/cache/LockRegistry.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/symfony/cache/LockRegistry.php b/vendor/symfony/cache/LockRegistry.php
index 0aadf33d61..e0318e900c 100644
--- a/vendor/symfony/cache/LockRegistry.php
+++ b/vendor/symfony/cache/LockRegistry.php
@@ -25,13 +25,13 @@ use Symfony\Contracts\Cache\ItemInterface;
*/
class LockRegistry
{
- private static $openedFiles = array();
- private static $lockedFiles = array();
+ private static $openedFiles = [];
+ private static $lockedFiles = [];
/**
* The number of items in this list controls the max number of concurrent processes.
*/
- private static $files = array(
+ private static $files = [
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AbstractAdapter.php',
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php',
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'ApcuAdapter.php',
@@ -51,7 +51,7 @@ class LockRegistry
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'TagAwareAdapterInterface.php',
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'TraceableAdapter.php',
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'TraceableTagAwareAdapter.php',
- );
+ ];
/**
* Defines a set of existing files that will be used as keys to acquire locks.
@@ -69,7 +69,7 @@ class LockRegistry
fclose($file);
}
}
- self::$openedFiles = self::$lockedFiles = array();
+ self::$openedFiles = self::$lockedFiles = [];
return $previousFiles;
}