From ceefbabd339338a5cfc163b4acb8b02d98cfb81f Mon Sep 17 00:00:00 2001 From: Perry van der Meer <11609290+PerryvanderMeer@users.noreply.github.com> Date: Wed, 20 Mar 2024 21:09:21 +0100 Subject: [PATCH 1/3] add backedenum and unitenum --- src/Illuminate/Validation/Rules/In.php | 2 +- src/Illuminate/Validation/Rules/NotIn.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Validation/Rules/In.php b/src/Illuminate/Validation/Rules/In.php index 9d33842b8071..8fc9e202af2e 100644 --- a/src/Illuminate/Validation/Rules/In.php +++ b/src/Illuminate/Validation/Rules/In.php @@ -26,7 +26,7 @@ class In implements Stringable /** * Create a new in rule instance. * - * @param \Illuminate\Contracts\Support\Arrayable|array|string $values + * @param \Illuminate\Contracts\Support\Arrayable|BackedEnum|UnitEnum|array|string $values * @return void */ public function __construct($values) diff --git a/src/Illuminate/Validation/Rules/NotIn.php b/src/Illuminate/Validation/Rules/NotIn.php index e6b392c60b1b..81fd4c80519d 100644 --- a/src/Illuminate/Validation/Rules/NotIn.php +++ b/src/Illuminate/Validation/Rules/NotIn.php @@ -26,7 +26,7 @@ class NotIn implements Stringable /** * Create a new "not in" rule instance. * - * @param \Illuminate\Contracts\Support\Arrayable|array|string $values + * @param \Illuminate\Contracts\Support\Arrayable|BackedEnum|UnitEnum|array|string $values * @return void */ public function __construct($values) From c4798b1ba70edd7986a7e86b3763ca1e41b00f9e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 20 Mar 2024 14:15:56 -0600 Subject: [PATCH 2/3] Update In.php --- src/Illuminate/Validation/Rules/In.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Validation/Rules/In.php b/src/Illuminate/Validation/Rules/In.php index 8fc9e202af2e..d268575f7b9a 100644 --- a/src/Illuminate/Validation/Rules/In.php +++ b/src/Illuminate/Validation/Rules/In.php @@ -26,7 +26,7 @@ class In implements Stringable /** * Create a new in rule instance. * - * @param \Illuminate\Contracts\Support\Arrayable|BackedEnum|UnitEnum|array|string $values + * @param \Illuminate\Contracts\Support\Arrayable|\BackedEnum|\UnitEnum|array|string $values * @return void */ public function __construct($values) From 51faa186e95d58519819bfbfd2cfd419a0634b3f Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 20 Mar 2024 14:16:06 -0600 Subject: [PATCH 3/3] Update NotIn.php --- src/Illuminate/Validation/Rules/NotIn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Validation/Rules/NotIn.php b/src/Illuminate/Validation/Rules/NotIn.php index 81fd4c80519d..1f1ba74b37b6 100644 --- a/src/Illuminate/Validation/Rules/NotIn.php +++ b/src/Illuminate/Validation/Rules/NotIn.php @@ -26,7 +26,7 @@ class NotIn implements Stringable /** * Create a new "not in" rule instance. * - * @param \Illuminate\Contracts\Support\Arrayable|BackedEnum|UnitEnum|array|string $values + * @param \Illuminate\Contracts\Support\Arrayable|\BackedEnum|\UnitEnum|array|string $values * @return void */ public function __construct($values)