Skip to content

Commit 5f12dab

Browse files
authored
Merge pull request #697 from Geolim4/master
Fixed #694
2 parents 87541c9 + 3c86342 commit 5f12dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Phpfastcache/Core/Pool/IO/IOHelperTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ protected function htaccessGen($path, $create = true)
256256
protected function readfile($file): string
257257
{
258258
if (\function_exists('file_get_contents')) {
259-
return \file_get_contents($file);
259+
return (string) \file_get_contents($file);
260260
}
261261

262262
$string = '';

0 commit comments

Comments
 (0)