Skip to content

Commit 384b6fc

Browse files
committed
Fixed #862 (@ShockedPlot7560's issue)
1 parent 6ac7ba5 commit 384b6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Phpfastcache/Drivers/Files/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function driverRead(ExtendedCacheItemInterface $item): ?array
7171
return null;
7272
}
7373

74-
return $this->decode($content);
74+
return $this->decode($content) ?: null;
7575
}
7676

7777
/**

0 commit comments

Comments
 (0)