@@ -139,7 +139,6 @@ |
||
| 139 | 139 | private $chainableFormatRetriever; |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - |
|
| 143 | 142 | * @param object[] $plugins |
| 144 | 143 | * @param bool $debug |
| 145 | 144 | * @param string|null $cacheFolder |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $this->pluginContainer = new PluginContainer($plugins); |
| 113 | 113 | $this->pluginContainer->each( |
| 114 | 114 | ApieAwareInterface::class, |
| 115 | - function (ApieAwareInterface $plugin) { |
|
| 115 | + function(ApieAwareInterface $plugin) { |
|
| 116 | 116 | $plugin->setApie($this); |
| 117 | 117 | } |
| 118 | 118 | ); |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | |
| 322 | 322 | public function onOpenApiDocGenerated(Document $document): Document |
| 323 | 323 | { |
| 324 | - $this->pluginContainer->each(OpenApiEventProviderInterface::class, function (OpenApiEventProviderInterface $plugin) use (&$document) { |
|
| 324 | + $this->pluginContainer->each(OpenApiEventProviderInterface::class, function(OpenApiEventProviderInterface $plugin) use (&$document) { |
|
| 325 | 325 | $document = $plugin->onOpenApiDocGenerated($document); |
| 326 | 326 | }); |
| 327 | 327 | return $document; |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | if (!$event->getResource()) { |
| 194 | 194 | $event->setResource($this->serializer->postData( |
| 195 | 195 | $resourceClass, |
| 196 | - (string)$event->getRequest()->getBody(), |
|
| 196 | + (string) $event->getRequest()->getBody(), |
|
| 197 | 197 | $event->getRequest()->getHeader('Content-Type')[0] ?? 'application/json' |
| 198 | 198 | )); |
| 199 | 199 | } |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | $this->getIdentifierExtractor(), |
| 84 | 84 | $this->apie->getBaseUrl(), |
| 85 | 85 | $this->getSubActionContainer(), |
| 86 | - function (Document $doc) { |
|
| 86 | + function(Document $doc) { |
|
| 87 | 87 | $this->apie->onOpenApiDocGenerated($doc); |
| 88 | 88 | } |
| 89 | 89 | ); |