We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7653a6e commit 854667cCopy full SHA for 854667c
src/QueryReflection/ReflectionCache.php
@@ -146,8 +146,7 @@ private function readCachedRecords(bool $useReadLock): ?array
146
147
if (! \is_array($cache) ||
148
! \array_key_exists('schemaVersion', $cache) ||
149
- ! \array_key_exists('schemaHash', $cache) ||
150
- ! is_string($cache['schemaHash']) ||
+ ! \array_key_exists('schemaHash', $cache) || // schemaHash exists but is null in recording mode
151
self::SCHEMA_VERSION !== $cache['schemaVersion']) {
152
return null;
153
}
0 commit comments