From f7716f895dd062e22059534f55129637ed6d5fd7 Mon Sep 17 00:00:00 2001 From: Vitaly Artemyev Date: Fri, 26 Jan 2024 23:48:59 +0500 Subject: [PATCH] repeatable option for callbacks --- src/Attributes/Callback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/Callback.php b/src/Attributes/Callback.php index 6f1a848..80cb604 100644 --- a/src/Attributes/Callback.php +++ b/src/Attributes/Callback.php @@ -6,7 +6,7 @@ use InvalidArgumentException; use Vyuldashev\LaravelOpenApi\Factories\CallbackFactory; -#[Attribute] +#[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)] class Callback { public string $factory;