Skip to content

Commit

Permalink
Fix #420 - valid type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Sep 23, 2024
1 parent dfd6bcb commit 56809d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Cache/RemoteFileBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function set($entryIdentifier, $data, array $tags = [], $lifetime = null)
}

GeneralUtility::writeFile($absoluteCacheDir . $fileName . self::FILE_EXTENSION_TAG, '|' . implode('|', $tags) . '|');
GeneralUtility::writeFile($absoluteCacheDir . $fileName . self::FILE_EXTENSION_LIFETIME, $this->calculateExpiryTime($lifetime)->getTimestamp());
GeneralUtility::writeFile($absoluteCacheDir . $fileName . self::FILE_EXTENSION_LIFETIME, (string)$this->calculateExpiryTime($lifetime)->getTimestamp());
GeneralUtility::writeFile($absoluteCacheDir . $fileName . self::FILE_EXTENSION_IDENTIFIER, $entryIdentifier);
}

Expand Down

0 comments on commit 56809d8

Please sign in to comment.