*/ public array $children = array(); /** * Constructor. * * @param non-empty-string $type Type as written in the docblock. * @param non-empty-string $name Key name, without the `$`. * @param bool $variadic Whether the entry is written as `...$name`. * @param string $description Description of the entry. */ public function __construct( string $type, string $name, bool $variadic, string $description ) { $this->type = $type; $this->name = $name; $this->variadic = $variadic; $this->description = $description; } }