Skip to content

Commit 08ce750

Browse files
committed
Fixed "new cache states are not correctly merged" bug
1 parent 3610521 commit 08ce750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Cache/CacheStateManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ private function saveCacheState(): void
185185
// Create the cache state array
186186
$cacheStateArray = array_map(
187187
fn (CacheState $cacheState) => $cacheState->toArray(),
188-
array_merge($this->newCacheState, $this->cacheState),
188+
array_merge($this->cacheState, $this->newCacheState),
189189
);
190190

191191
// Set the hash

0 commit comments

Comments
 (0)