| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class ConstraintException extends \Exception |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @return ConstraintException |
||
| 9 | */ |
||
| 10 | 2 | public static function createUnsupportedException(): ConstraintException |
|
| 11 | { |
||
| 12 | 2 | return new self('Constraint not supported.'); |
|
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return ConstraintException |
||
| 17 | */ |
||
| 18 | 1 | public static function createInvalidValueException(): ConstraintException |
|
| 21 | } |
||
| 22 | } |
||
| 23 |