File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 48
48
],
49
49
'components ' => [
50
50
//
51
- ]
51
+ ],
52
52
],
53
53
54
54
],
Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ public function __construct(
35
35
public function build (
36
36
string $ collection = Generator::COLLECTION_DEFAULT ,
37
37
array $ middlewares = []
38
- ): ?Components
39
- {
38
+ ): ?Components {
40
39
$ callbacks = $ this ->callbacksBuilder ->build ($ collection );
41
40
$ requestBodies = $ this ->requestBodiesBuilder ->build ($ collection );
42
41
$ responses = $ this ->responsesBuilder ->build ($ collection );
@@ -74,7 +73,7 @@ public function build(
74
73
$ components = $ components ->securitySchemes (...$ securitySchemes );
75
74
}
76
75
77
- if (!$ hasAnyObjects ) {
76
+ if (! $ hasAnyObjects ) {
78
77
return null ;
79
78
}
80
79
You can’t perform that action at this time.
0 commit comments