Phan\BlockAnalysisVisitor::visitIf PHP Method

visitIf() public method

public visitIf ( ast\Node $node ) : Context
$node ast\Node An AST node we'd like to determine the UnionType for
return Phan\Language\Context The updated context after visiting the node
    public function visitIf(Node $node) : Context
    {
        return $this->visitBranchedContext($node);
    }