diff --git a/docs/rules/HexRgbColor.md b/docs/rules/HexRgbColor.md index e754de0f..3b989a22 100644 --- a/docs/rules/HexRgbColor.md +++ b/docs/rules/HexRgbColor.md @@ -2,7 +2,7 @@ - `HexRgbColor()` -Validates weather the input is a hex RGB color or not. +Validates whether the input is a hex RGB color or not. ```php v::hexRgbColor()->validate('#FFFAAA'); // true diff --git a/library/Rules/HexRgbColor.php b/library/Rules/HexRgbColor.php index 51af1bfc..3475968e 100644 --- a/library/Rules/HexRgbColor.php +++ b/library/Rules/HexRgbColor.php @@ -10,7 +10,7 @@ declare(strict_types=1); namespace Respect\Validation\Rules; /** - * Validates weather the input is a hex RGB color or not. + * Validates whether the input is a hex RGB color or not. * * @author Davide Pastore * @author Henrique Moody