Skip to content

Commit 9a1f895

Browse files
staabmclxmstaab
andauthored
Remove recording workaround (#270)
* Remove recording workaround * regenerate caches Co-authored-by: Markus Staab <[email protected]>
1 parent 6a03ce1 commit 9a1f895

File tree

3 files changed

+47
-110
lines changed

3 files changed

+47
-110
lines changed

src/QueryReflection/RecordingQueryReflector.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ public function validateQueryString(string $queryString): ?Error
4444

4545
public function getResultType(string $queryString, int $fetchType): ?Type
4646
{
47-
// built the query string cache, also on result-type checking, to make sure the cachefile contains all required information.
48-
// result-type checking is triggered by phpstan analysis via our phpstan-extensions, while the query-validation isn't.
49-
$this->validateQueryString($queryString);
50-
5147
$resultType = $this->reflector->getResultType($queryString, $fetchType);
5248

5349
$this->reflectionCache->putResultType(

0 commit comments

Comments
 (0)