From 955405b997656e42d0acd7f617a9b8f28e310766 Mon Sep 17 00:00:00 2001 From: Henrique Moody Date: Mon, 11 Mar 2024 23:14:36 +0100 Subject: [PATCH] Fix type in HexRgbColor documentation Signed-off-by: Henrique Moody --- docs/rules/HexRgbColor.md | 2 +- library/Rules/HexRgbColor.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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