type = \is_string($type) ? new Identifier($type) : $type; $this->byRef = $byRef; $this->variadic = $variadic; $this->var = $var; $this->default = $default; } public function getSubNodeNames() : array { return ['type', 'byRef', 'variadic', 'var', 'default']; } public function getType() : string { return 'Param'; } }