public function __construct(Context $context, string $name, UnionType $type, int $flags, FullyQualifiedFunctionName $fqsen) { parent::__construct($context, $name, $type, $flags, $fqsen); $this->setInternalScope(new FunctionLikeScope($context->getScope(), $fqsen)); }