diff --git a/src/Illuminate/Validation/Rules/In.php b/src/Illuminate/Validation/Rules/In.php index 9d33842b8071..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|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..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|array|string $values + * @param \Illuminate\Contracts\Support\Arrayable|\BackedEnum|\UnitEnum|array|string $values * @return void */ public function __construct($values)