Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
5 | class ScalarArgumentResolver extends CustomArgumentResolver |
||
6 | { |
||
7 | private mixed $scalar; |
||
8 | |||
9 | /** |
||
10 | * @param mixed $scalar |
||
11 | */ |
||
12 | 2 | public function __construct(mixed $scalar) |
|
13 | { |
||
14 | 2 | $this->scalar = $scalar; |
|
15 | 2 | } |
|
16 | |||
17 | 2 | protected function doResolve($context = null) |
|
20 | } |
||
21 | } |
||
22 |