These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace phpDocumentor; |
||
4 | |||
5 | use phpDocumentor\{ClassA, ClassB, ClassC as C}; |
||
6 | |||
7 | class A |
||
8 | { |
||
9 | /** |
||
10 | * @param \phpDocumentor\ClassA $a |
||
11 | * @param \phpDocumentor\ClassB $b |
||
12 | * @param ClassC $c |
||
13 | */ |
||
14 | public function someMethodWithDocblock(ClassA $a, ClassB $b, C $c) |
||
0 ignored issues
–
show
|
|||
15 | { |
||
16 | } |
||
17 | |||
18 | public function someMethodWithoutDocblock(ClassA $a, ClassB $b, C $c) |
||
0 ignored issues
–
show
|
|||
19 | { |
||
20 | } |
||
21 | } |
||
22 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.