diff --git a/src/Cache/AbstractCache.php b/src/Cache/AbstractCache.php index 7a2e64151..ff45fc8fa 100644 --- a/src/Cache/AbstractCache.php +++ b/src/Cache/AbstractCache.php @@ -169,26 +169,30 @@ public function has($path) * Retrieve the contents of an object * * @param string $path - * @return null|string contents or null on failure + * @return false|string contents or null on failure */ public function read($path) { if (isset($this->cache[$path]['contents'])) { return $this->cache[$path]['contents']; } + + return false; } /** * Retrieve the contents of an object * * @param string $path - * @return null|string contents or null on failure + * @return false|string contents or null on failure */ public function readStream($path) { if (isset($this->cache[$path]['stream'])) { return $this->cache[$path]['stream']; } + + return false; } /**