diff --git a/src/QueryReflection/ReflectionCache.php b/src/QueryReflection/ReflectionCache.php index 02679fd9..840fedd8 100644 --- a/src/QueryReflection/ReflectionCache.php +++ b/src/QueryReflection/ReflectionCache.php @@ -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; }