diff --git a/src/Illuminate/Support/Facades/Request.php b/src/Illuminate/Support/Facades/Request.php index e69c4f94e53e..d3ee26111246 100755 --- a/src/Illuminate/Support/Facades/Request.php +++ b/src/Illuminate/Support/Facades/Request.php @@ -159,8 +159,8 @@ * @method static int integer(string $key, int $default = 0) * @method static float float(string $key, float $default = 0) * @method static \Illuminate\Support\Carbon|null date(string $key, string|null $format = null, string|null $tz = null) - * @method static object|null enum(string $key, string $enumClass) - * @method static object[] enums(string $key, string $enumClass) + * @method static \BackedEnum|null enum(string $key, string $enumClass) + * @method static \BackedEnum[] enums(string $key, string $enumClass) * @method static \Illuminate\Support\Collection collect(array|string|null $key = null) * @method static array only(array|mixed $keys) * @method static array except(array|mixed $keys)