Skip to content

Commit 667ed36

Browse files
committed
Fix grammatical errors in URL exception message
Although the "U" at the first of URL is a vowel, the abbreviation is pronounced "you-are-ell". Because the letter "Y" is a consonant in this case, we should use "a" instead of "an". Link: https://itknowledgeexchange.techtarget.com/writing-for-business/which-is-correct-a-url-or-an-url/ Signed-off-by: Henrique Moody <[email protected]>
1 parent 83bb6e3 commit 667ed36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/Exceptions/UrlException.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class UrlException extends ValidationException
1515
{
1616
public static $defaultTemplates = [
1717
self::MODE_DEFAULT => [
18-
self::STANDARD => '{{name}} must be an URL',
18+
self::STANDARD => '{{name}} must be a URL',
1919
],
2020
self::MODE_NEGATIVE => [
21-
self::STANDARD => '{{name}} must not be an URL',
21+
self::STANDARD => '{{name}} must not be a URL',
2222
],
2323
];
2424
}

0 commit comments

Comments
 (0)