mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix short-array usage.
This commit is contained in:
parent
608560b073
commit
ab79ab9c55
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class FileEngine extends CacheEngine {
|
||||||
}
|
}
|
||||||
|
|
||||||
$expires = time() + $duration;
|
$expires = time() + $duration;
|
||||||
$contents = implode([$expires, $lineBreak, $data, $lineBreak]);
|
$contents = implode(array($expires, $lineBreak, $data, $lineBreak));
|
||||||
|
|
||||||
if ($this->settings['lock']) {
|
if ($this->settings['lock']) {
|
||||||
$this->_File->flock(LOCK_EX);
|
$this->_File->flock(LOCK_EX);
|
||||||
|
|
Loading…
Reference in a new issue