Skip to content

Commit

Permalink
Update ParserInference.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 15, 2024
1 parent 1872220 commit 334c6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SqlAst/ParserInference.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function narrowResultType(string $queryString, ConstantArrayType $resultT
$fromTable = $this->schemaReflection->getTable($fromName);
} elseif ($from instanceof Join) {
while (1) {
if (!$from instanceof Join || !method_exists($from, 'getCondition')) {
if (! $from instanceof Join || ! method_exists($from, 'getCondition')) {
return $resultType;
}

Expand Down

0 comments on commit 334c6c6

Please sign in to comment.