| 1 | <?php |
||
| 13 | class ClassWithMethodWithVariadicFunction |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var mixed |
||
| 17 | */ |
||
| 18 | public $bar; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var mixed |
||
| 22 | */ |
||
| 23 | public $baz; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed $bar |
||
| 27 | * @param mixed $baz |
||
| 28 | */ |
||
| 29 | public function foo($bar, ...$baz) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param mixed ...$fooz |
||
| 37 | * |
||
| 38 | * @return mixed[] |
||
| 39 | */ |
||
| 40 | public function buz(...$fooz) |
||
| 44 | } |
||
| 45 |