Skip to content

Commit

Permalink
Fix grammatical errors in URL exception message
Browse files Browse the repository at this point in the history
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 <henriquemoody@gmail.com>
  • Loading branch information
henriquemoody committed Jul 2, 2018
1 parent 83bb6e3 commit 667ed36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Exceptions/UrlException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class UrlException extends ValidationException
{
public static $defaultTemplates = [
self::MODE_DEFAULT => [
self::STANDARD => '{{name}} must be an URL',
self::STANDARD => '{{name}} must be a URL',
],
self::MODE_NEGATIVE => [
self::STANDARD => '{{name}} must not be an URL',
self::STANDARD => '{{name}} must not be a URL',
],
];
}

0 comments on commit 667ed36

Please sign in to comment.