| 1 | <?php declare(strict_types = 1); |
||
| 5 | class ClassWithOptionalArrayInConstructor |
||
| 6 | { |
||
| 7 | |||
| 8 | /** @var \Mocktainer\FooService */ |
||
| 9 | public $fooService; |
||
| 10 | |||
| 11 | /** @var mixed[] */ |
||
| 12 | public $options; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param \Mocktainer\FooService $fooService |
||
| 16 | * @param mixed[] $options |
||
| 17 | */ |
||
| 18 | public function __construct(FooService $fooService, array $options = []) |
||
| 23 | |||
| 24 | } |
||
| 25 |