| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | class ValidatorArgs |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | public $name; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | public $type; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $comment; |
||
| 25 | |||
| 26 | public function __construct(string $name, string $type, string $comment) |
||
| 27 | { |
||
| 28 | $this->name = $name; |
||
| 29 | $this->type = $type; |
||
| 30 | $this->comment = $comment; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function toGraphql(): string |
||
| 41 | EOF; |
||
| 42 | } |
||
| 44 |