Skip to content

Commit fd0f5ae

Browse files
committed
MCLOUD-6958: Command cache:evict does not support L2 cache configuration
- Fix CR Notes
1 parent 9cc8966 commit fd0f5ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Model/Cache/Evictor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function evict(): int
8989
* @param string $configKey
9090
* @return string
9191
*/
92-
private function getCacheConfigValue($cacheConfig, $configKey)
92+
private function getCacheConfigValue($cacheConfig, $configKey): string
9393
{
9494
if (isset($cacheConfig['backend_options'][$configKey])) {
9595
return $cacheConfig['backend_options'][$configKey];
@@ -106,7 +106,7 @@ private function getCacheConfigValue($cacheConfig, $configKey)
106106
* @param $cacheConfig
107107
* @return bool
108108
*/
109-
private function isCacheConfigValid($cacheConfig)
109+
private function isCacheConfigValid($cacheConfig): bool
110110
{
111111
if ($this->getCacheConfigValue($cacheConfig, 'server')
112112
&& $this->getCacheConfigValue($cacheConfig, 'port')

0 commit comments

Comments
 (0)