| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | class ValidatorMetadata |
||
| 13 | { |
||
| 14 | public $name; |
||
| 15 | |||
| 16 | public $comment; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var ValidatorArgs[] |
||
| 20 | */ |
||
| 21 | public $args; |
||
| 22 | |||
| 23 | public function __construct(string $name, string $comment, array $args = []) |
||
|
|
|||
| 24 | { |
||
| 25 | $this->name = $name; |
||
| 26 | $this->comment = $comment; |
||
| 27 | $this->args = args; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function toGraphql(): string |
||
| 48 | |||
| 49 | EOF; |
||
| 52 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.