Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class DummyComplex implements DummyInterface |
||
16 | { |
||
17 | use MagicStoreTrait; |
||
18 | |||
19 | public function __construct(?int $intDummy, ?string $notExist, $noTypeParameter = 1, string $defaultString = 'DefaultString') |
||
20 | { |
||
21 | $this->_store(get_defined_vars()); |
||
22 | } |
||
23 | |||
24 | public function method(Dummy $dummy, ?int $i) : Dummy |
||
|
|||
25 | { |
||
26 | return $dummy; |
||
27 | } |
||
28 | |||
29 | public function whoAmI() |
||
32 | } |
||
33 | } |
||
34 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.