From 854667c0c5ea8009db74e8266e6fcbc754426a3d Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Fri, 15 Nov 2024 08:53:48 +0100 Subject: [PATCH] Fix replay --- src/QueryReflection/ReflectionCache.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }