From 754db8b6cac362822c24f4c237dfce94becd7dc9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 21 Mar 2017 11:12:08 +0100 Subject: [PATCH] Fix return type --- DataStorage/Cache/CachePool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataStorage/Cache/CachePool.php b/DataStorage/Cache/CachePool.php index e0476b34e..697c39a1f 100644 --- a/DataStorage/Cache/CachePool.php +++ b/DataStorage/Cache/CachePool.php @@ -112,10 +112,10 @@ class CachePool implements OptionsInterface * @since 1.0.0 * @author Dennis Eichhorn */ - public function get(string $key) + public function get(string $key) /* : ?CacheInterface */ { if (!isset($this->pool[$key])) { - return false; + return null; } return $this->pool[$key];