Skip to content

Commit 854667c

Browse files
committed
Fix replay
1 parent 7653a6e commit 854667c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/QueryReflection/ReflectionCache.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ private function readCachedRecords(bool $useReadLock): ?array
146146

147147
if (! \is_array($cache) ||
148148
! \array_key_exists('schemaVersion', $cache) ||
149-
! \array_key_exists('schemaHash', $cache) ||
150-
! is_string($cache['schemaHash']) ||
149+
! \array_key_exists('schemaHash', $cache) || // schemaHash exists but is null in recording mode
151150
self::SCHEMA_VERSION !== $cache['schemaVersion']) {
152151
return null;
153152
}

0 commit comments

Comments
 (0)