Skip to content

Commit

Permalink
Fix short-array usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 30, 2016
1 parent 608560b commit ab79ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Cache/Engine/FileEngine.php
Expand Up @@ -132,7 +132,7 @@ public function write($key, $data, $duration) {
}

$expires = time() + $duration;
$contents = implode([$expires, $lineBreak, $data, $lineBreak]);
$contents = implode(array($expires, $lineBreak, $data, $lineBreak));

if ($this->settings['lock']) {
$this->_File->flock(LOCK_EX);
Expand Down

0 comments on commit ab79ab9

Please sign in to comment.