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