Skip to content

Commit 8effdd7

Browse files
committed
Fix assertion; allow numeric strings larger than 64 bit int
1 parent ba7730a commit 8effdd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XML/ds/X509SerialNumber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(string $content)
3939
*/
4040
protected function validateContent(/** @scrutinizer ignore-unused */ string $content): void
4141
{
42-
Assert::integerish($content, SchemaViolationException::class);
42+
Assert::numeric($content, SchemaViolationException::class);
4343
}
4444

4545

0 commit comments

Comments
 (0)