Skip to content

Commit 31b284c

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: Add missing validators translation [Inflector] Fix inflector for "zombies" fix ErrorExcception in CacheWarmerAggregate [Translation] correctly handle intl domains with TargetOperation
2 parents 0ba13a7 + 2ac1ef6 commit 31b284c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CacheWarmer/CacheWarmerAggregate.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ public function warmUp(string $cacheDir)
103103

104104
if (is_file($this->deprecationLogsFilepath)) {
105105
$previousLogs = unserialize(file_get_contents($this->deprecationLogsFilepath));
106-
$collectedLogs = array_merge($previousLogs, $collectedLogs);
106+
if (\is_array($previousLogs)) {
107+
$collectedLogs = array_merge($previousLogs, $collectedLogs);
108+
}
107109
}
108110

109111
file_put_contents($this->deprecationLogsFilepath, serialize(array_values($collectedLogs)));

0 commit comments

Comments
 (0)