We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df8380 commit 0547a2eCopy full SHA for 0547a2e
src/Traits/ErrorTrait.php
@@ -112,7 +112,7 @@ private static function assertValidName(string $name): void
112
}
113
114
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');
+ throw new InvalidArgumentException('A name can only contain alphanumeric characters and underscores and must begin with an alphabetic character');
116
117
118
if (strlen($name) >= 65535) {
0 commit comments