Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
fixed zendframework/zendframework#4552: Zend\Cache\Storage\Adapter\Wi…
Browse files Browse the repository at this point in the history
…ncache::getItem() have to return NULL in cases of not found items
  • Loading branch information
marc-mabe committed Jun 12, 2013
1 parent 867e7bf commit 350a51c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Storage/Adapter/WinCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ protected function internalGetItem(& $normalizedKey, & $success = null, & $casTo

if ($success) {
$casToken = $result;
} else {
$result = null;
}

return $result;
Expand Down

0 comments on commit 350a51c

Please sign in to comment.