We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 625cccb commit 6609e1eCopy full SHA for 6609e1e
src/Documentation/Action/DocumentationAction.php
@@ -88,7 +88,7 @@ public function __invoke(Request $request = null): DocumentationInterface
88
}
89
90
if ('json' === $request->getRequestFormat() && null !== $this->openApiFactory && 3 === ($context['spec_version'] ?? null)) {
91
- return $this->openApiFactory->__invoke($context ?? []);
+ return $this->openApiFactory->__invoke($context);
92
93
94
return new Documentation($this->resourceNameCollectionFactory->create(), $this->title, $this->description, $this->version, $this->formats);
0 commit comments