From 667ed36b4868e785d52d815181ff00c798a61be7 Mon Sep 17 00:00:00 2001 From: Henrique Moody Date: Mon, 2 Jul 2018 08:22:41 +0200 Subject: [PATCH] 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 --- library/Exceptions/UrlException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Exceptions/UrlException.php b/library/Exceptions/UrlException.php index b6dca86c9..47ad931ab 100644 --- a/library/Exceptions/UrlException.php +++ b/library/Exceptions/UrlException.php @@ -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', ], ]; }