We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class InvalidArgumentError extends GraphQLUserError |
||
| 12 | { |
||
| 13 | private string $name; |
||
| 14 | private ConstraintViolationListInterface $errors; |
||
| 15 | |||
| 16 | 3 | public function __construct( |
|
| 17 | string $name, |
||
| 18 | ConstraintViolationListInterface $errors, |
||
| 19 | string $message = '', |
||
| 20 | int $code = 0, |
||
| 21 | Exception $previous = null |
||
| 22 | ) { |
||
| 23 | 3 | $this->name = $name; |
|
| 24 | 3 | $this->errors = $errors; |
|
| 25 | 3 | parent::__construct($message, $code, $previous); |
|
| 26 | 3 | } |
|
| 27 | |||
| 28 | 3 | public function getName(): string |
|
| 31 | } |
||
| 32 | |||
| 33 | 3 | public function getErrors(): ConstraintViolationListInterface |
|
| 38 |