Skip to content

Commit

Permalink
Fix replay
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 15, 2024
1 parent 7653a6e commit 854667c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/QueryReflection/ReflectionCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ private function readCachedRecords(bool $useReadLock): ?array

if (! \is_array($cache) ||
! \array_key_exists('schemaVersion', $cache) ||
! \array_key_exists('schemaHash', $cache) ||
! is_string($cache['schemaHash']) ||
! \array_key_exists('schemaHash', $cache) || // schemaHash exists but is null in recording mode
self::SCHEMA_VERSION !== $cache['schemaVersion']) {
return null;
}
Expand Down

0 comments on commit 854667c

Please sign in to comment.