Skip to content

Commit

Permalink
get
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 18, 2024
1 parent 3aa23ed commit 6871bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValueResolver/NodeExpressionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ protected function resolveExprClassConstFetch(Expr\ClassConstFetch $node)
$this->isConstant = true;
$this->constantName = $classToReflect . '::' . $constantName;

return $refClass->getConstant($constantName) ?? $this->constantName;
return $refClass->getConstant($constantName);
}

protected function resolveExprArray(Expr\Array_ $node): array
Expand Down

0 comments on commit 6871bd4

Please sign in to comment.