Skip to content

Commit 0547a2e

Browse files
committed
fixed typo
1 parent 9df8380 commit 0547a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/ErrorTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private static function assertValidName(string $name): void
112112
}
113113

114114
if (!preg_match('/^\p{L}[\p{L}\d_]*$/u', $name)) {
115-
throw new InvalidArgumentException('A name can only contain alphanumeric characters and underscores and must begin with an alphanumeric character');
115+
throw new InvalidArgumentException('A name can only contain alphanumeric characters and underscores and must begin with an alphabetic character');
116116
}
117117

118118
if (strlen($name) >= 65535) {

0 commit comments

Comments
 (0)