Skip to content

Commit 461b965

Browse files
authored
Merge pull request #4689 from MGatner/mock-cache-info
MockCache::getCacheInfo()
2 parents a4c88d3 + 7974247 commit 461b965

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Test/Mock/MockCache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ public function clean()
235235
* The information returned and the structure of the data
236236
* varies depending on the handler.
237237
*
238-
* @return mixed
238+
* @return string[] Keys currently present in the store
239239
*/
240240
public function getCacheInfo()
241241
{
242-
return [];
242+
return array_keys($this->cache);
243243
}
244244

245245
//--------------------------------------------------------------------

0 commit comments

Comments
 (0)