Skip to content

Commit

Permalink
Merge pull request #4689 from MGatner/mock-cache-info
Browse files Browse the repository at this point in the history
MockCache::getCacheInfo()
  • Loading branch information
MGatner committed May 16, 2021
2 parents a4c88d3 + 7974247 commit 461b965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Test/Mock/MockCache.php
Expand Up @@ -235,11 +235,11 @@ public function clean()
* The information returned and the structure of the data
* varies depending on the handler.
*
* @return mixed
* @return string[] Keys currently present in the store
*/
public function getCacheInfo()
{
return [];
return array_keys($this->cache);
}

//--------------------------------------------------------------------
Expand Down

0 comments on commit 461b965

Please sign in to comment.