Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | trait AddParameterTrait |
||
22 | { |
||
23 | /** |
||
24 | * Set user-defined parameter. |
||
25 | * |
||
26 | * @param string $name (can be set without preceding VPr / RefVPr) |
||
27 | * @param string $type |
||
28 | * @param mixed $value |
||
29 | * @param mixed|null $list |
||
30 | * @return self |
||
31 | */ |
||
32 | 15 | public function addParameter(string $name, string $type, mixed $value, mixed $list = null): self |
|
62 |