We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df44c4c commit e1e5773Copy full SHA for e1e5773
1 file changed
src/PHPixie/Cache/Drivers/Type/File.php
@@ -83,7 +83,7 @@ protected function getItemWithoutCleanup($key)
83
public function clear()
84
{
85
foreach (scandir($this->directory) as $file) {
86
- if($file{0} == '.') {
+ if($file[0] == '.') {
87
continue;
88
}
89
@@ -111,7 +111,7 @@ public function cleanup()
111
$now = time();
112
113
114
115
116
117
@@ -141,4 +141,4 @@ protected function checkFileExpiry($file, $time)
141
abstract protected function getExpiryTimestamp($file);
142
abstract protected function getFileData($file);
143
abstract protected function buildFileContents($value, $timestamp);
144
-}
+}
0 commit comments