Skip to content

Commit

Permalink
fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 14, 2023
1 parent d748e66 commit 228247a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/SqlAst/ParserInference.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ public function narrowResultType(string $queryString, ConstantArrayType $resultT
$aliasOffsetType = null;
if (null !== $column->getAlias()) {
$aliasOffsetType = new ConstantStringType($column->getAlias());
} elseif (method_exists($expression, 'getName')) {
$aliasOffsetType = new ConstantStringType($expression->getName());
}

$valueType = $resultType->getOffsetValueType($offsetType);
Expand Down

0 comments on commit 228247a

Please sign in to comment.