| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class UnsignedLongValue extends NonNegativeIntegerValue |
||
| 14 | { |
||
| 15 | public const string SCHEMA_TYPE = 'unsignedLong'; |
||
|
|
|||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * Validate the value. |
||
| 20 | * |
||
| 21 | * @param string $value |
||
| 22 | * @throws \SimpleSAML\XMLSchema\Exception\SchemaViolationException on failure |
||
| 23 | */ |
||
| 24 | protected function validateValue(string $value): void |
||
| 25 | { |
||
| 26 | Assert::validUnsignedLong($this->sanitizeValue($value), SchemaViolationException::class); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |