Total Complexity | 1 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class ObjectTypeArgument extends AbstractModel |
||
16 | { |
||
17 | /** |
||
18 | * This is an incorrect annotation, it should be entirely deleted to let the |
||
19 | * system auto-create an input type matching the entity |
||
20 | * |
||
21 | * @API\Field(args={@API\Argument(name="user", type="GraphQLTests\Doctrine\Blog\Model\User")}) |
||
22 | * |
||
23 | * @param User $user |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getWithParams(User $user): string |
||
32 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.