File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
use InvalidArgumentException ;
7
7
use Vyuldashev \LaravelOpenApi \Factories \ExtensionFactory ;
8
8
9
- #[Attribute]
9
+ #[Attribute(Attribute:: IS_REPEATABLE ) ]
10
10
class Extension
11
11
{
12
12
public ?string $ factory ;
Original file line number Diff line number Diff line change 6
6
use InvalidArgumentException ;
7
7
use Vyuldashev \LaravelOpenApi \Factories \ResponseFactory ;
8
8
9
- #[Attribute(Attribute::TARGET_METHOD )]
9
+ #[Attribute(Attribute::TARGET_METHOD | Attribute:: IS_REPEATABLE )]
10
10
class Response
11
11
{
12
12
public string $ factory ;
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ class RouteInformation
41
41
42
42
/**
43
43
* @param Route $route
44
- * @return HigherOrderTapProxy|mixed| RouteInformation
44
+ * @return RouteInformation
45
45
* @throws ReflectionException
46
46
*/
47
- public static function createFromRoute (Route $ route ): mixed
47
+ public static function createFromRoute (Route $ route ): RouteInformation
48
48
{
49
49
return tap (new static (), static function (self $ instance ) use ($ route ): void {
50
50
$ method = collect ($ route ->methods ())
You can’t perform that action at this time.
0 commit comments