@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | if (!$this->chainableFormatRetriever) { |
| 325 | 325 | $this->chainableFormatRetriever = new ChainableFormatRetriever( |
| 326 | 326 | array_map( |
| 327 | - function (EncoderProviderInterface $encoderProvider) { |
|
| 327 | + function(EncoderProviderInterface $encoderProvider) { |
|
| 328 | 328 | return $encoderProvider->getFormatRetriever(); |
| 329 | 329 | }, |
| 330 | 330 | $this->encoders |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | if (!$this->chainableFactory) { |
| 360 | 360 | $this->chainableFactory = new ChainableFactory( |
| 361 | 361 | array_map( |
| 362 | - function (ApiResourceFactoryProviderInterface $factoryProvider) { |
|
| 362 | + function(ApiResourceFactoryProviderInterface $factoryProvider) { |
|
| 363 | 363 | return $factoryProvider->getApiResourceFactory(); |
| 364 | 364 | }, |
| 365 | 365 | $this->apiResourceFactories |
@@ -148,7 +148,6 @@ |
||
| 148 | 148 | private $openApiEventProviders = []; |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | - |
|
| 152 | 151 | * @param object[] $plugins |
| 153 | 152 | * @param bool $debug |
| 154 | 153 | * @param string|null $cacheFolder |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | public function getDynamicSchemaLogic(): array |
| 35 | 35 | { |
| 36 | 36 | return [ |
| 37 | - ValueObjectInterface::class => function (string $resourceClass) { |
|
| 37 | + ValueObjectInterface::class => function(string $resourceClass) { |
|
| 38 | 38 | return $resourceClass::toSchema(); |
| 39 | 39 | } |
| 40 | 40 | ]; |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $this->getApiResourceMetadataFactory(), |
| 61 | 61 | $this->getIdentifierExtractor(), |
| 62 | 62 | $this->apie->getBaseUrl(), |
| 63 | - function (Document $doc) { |
|
| 63 | + function(Document $doc) { |
|
| 64 | 64 | $this->apie->onOpenApiDocGenerated($doc); |
| 65 | 65 | } |
| 66 | 66 | ); |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | $prop->setAccessible(true); |
| 101 | 101 | $factories = $prop->getValue($factory); |
| 102 | 102 | return $this->apie = new ChainableFactory( |
| 103 | - array_filter($factories, function (ApiResourceFactoryInterface $factory) { |
|
| 103 | + array_filter($factories, function(ApiResourceFactoryInterface $factory) { |
|
| 104 | 104 | return !$factory instanceof MockApiResourceFactory; |
| 105 | 105 | }) |
| 106 | 106 | ); |