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 cca9cf2 commit 1872220Copy full SHA for 1872220
src/QueryReflection/ReflectionCache.php
@@ -157,7 +157,7 @@ private function readCachedRecords(bool $useReadLock): ?array
157
158
// the schemaHash is only available in replay-and-record mode.
159
if (null === $this->schemaHash) {
160
- if (! is_string($cache['schemaHash'])) {
+ if ($cache['schemaHash'] !== null && ! is_string($cache['schemaHash'])) {
161
throw new ShouldNotHappenException();
162
}
163
$this->schemaHash = $cache['schemaHash'];
0 commit comments