Total Complexity | 1 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | #[ORM\Entity] |
||
13 | final class ObjectTypeArgument extends AbstractModel |
||
14 | { |
||
15 | /** |
||
16 | * This is an incorrect attribute, it should be entirely deleted to let the |
||
17 | * system auto-create an input type matching the entity. |
||
18 | */ |
||
19 | public function getWithParams(#[API\Argument(type: User::class)] User $user): string |
||
24 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.