Skip to content

Commit ef54bc2

Browse files
MCLOUD-6779: PHP Fatal error when running the command 'php bin/magento cache:evict' (#39)
1 parent 1de0137 commit ef54bc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Model/Cache/Evictor.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public function evict(): int
7474
}
7575

7676
$dbKeys = $this->run(
77-
$cacheConfig['backend_options']['server'],
78-
$cacheConfig['backend_options']['port'],
79-
$cacheConfig['backend_options']['database']
77+
(string)$cacheConfig['backend_options']['server'],
78+
(int)$cacheConfig['backend_options']['port'],
79+
(int)$cacheConfig['backend_options']['database']
8080
);
8181
$evictedKeys += $dbKeys;
8282

0 commit comments

Comments
 (0)