Skip to content

Commit

Permalink
Merge pull request #12 from red-led/file_storage_fix
Browse files Browse the repository at this point in the history
Fix FileStorage behavior
  • Loading branch information
olvlvl committed May 6, 2020
2 parents c5af41a + f4bef4d commit abc0e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FileStorage.php
Expand Up @@ -112,7 +112,7 @@ public function store(string $key, $value, int $ttl = null): void
return;
}

if ($value === false || $value === null)
if ($value === null)
{
$this->eliminate($key);

Expand Down

0 comments on commit abc0e7d

Please sign in to comment.