From cd702c1aa9f1b2912125d119f2c763440f4fce0a Mon Sep 17 00:00:00 2001 From: MGatner Date: Sat, 15 May 2021 13:21:12 +0000 Subject: [PATCH 1/2] Add cache info --- system/Test/Mock/MockCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Test/Mock/MockCache.php b/system/Test/Mock/MockCache.php index f82d2c2be252..f159d41464eb 100644 --- a/system/Test/Mock/MockCache.php +++ b/system/Test/Mock/MockCache.php @@ -235,11 +235,11 @@ public function clean() * The information returned and the structure of the data * varies depending on the handler. * - * @return mixed + * @return array Keys currently present in the store */ public function getCacheInfo() { - return []; + return array_keys($this->cache); } //-------------------------------------------------------------------- From 79742475bd14bddac4669bcbc82ca5d202d4159e Mon Sep 17 00:00:00 2001 From: MGatner Date: Sun, 16 May 2021 09:19:50 -0400 Subject: [PATCH 2/2] Update system/Test/Mock/MockCache.php Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com> --- system/Test/Mock/MockCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Test/Mock/MockCache.php b/system/Test/Mock/MockCache.php index f159d41464eb..f4fb1a972c5d 100644 --- a/system/Test/Mock/MockCache.php +++ b/system/Test/Mock/MockCache.php @@ -235,7 +235,7 @@ public function clean() * The information returned and the structure of the data * varies depending on the handler. * - * @return array Keys currently present in the store + * @return string[] Keys currently present in the store */ public function getCacheInfo() {