@@ -28,19 +28,19 @@ discard block |
||
| 28 | 28 | $context->getContextKey(), |
| 29 | 29 | $context->getConfig('api-url'), |
| 30 | 30 | $context->getConfig('swagger-ui-test-page-middleware'), |
| 31 | - function () use ($context) { |
|
| 31 | + function() use ($context) { |
|
| 32 | 32 | $this->routeLoader->addDocUrl($context->getContextKey()); |
| 33 | 33 | } |
| 34 | 34 | ); |
| 35 | 35 | $middleware = $context->getConfig('apie-middleware'); |
| 36 | 36 | if ($context->getConfig('translations')) { |
| 37 | - array_unshift($middleware, HandleAcceptLanguage::class. ':' . implode(',', $context->getConfig('translations'))); |
|
| 37 | + array_unshift($middleware, HandleAcceptLanguage::class . ':' . implode(',', $context->getConfig('translations'))); |
|
| 38 | 38 | } |
| 39 | 39 | $this->routeLoader->context( |
| 40 | 40 | $context->getContextKey(), |
| 41 | 41 | $context->getConfig('api-url'), |
| 42 | 42 | $middleware, |
| 43 | - function () use ($context) { |
|
| 43 | + function() use ($context) { |
|
| 44 | 44 | $this->routeLoader->addResourceUrl($context->getContextKey()); |
| 45 | 45 | } |
| 46 | 46 | ); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | $context->getContextKey(), |
| 50 | 50 | $context->getConfig('swagger-ui-test-page'), |
| 51 | 51 | $context->getConfig('swagger-ui-test-page-middleware'), |
| 52 | - function () use ($context) { |
|
| 52 | + function() use ($context) { |
|
| 53 | 53 | $this->routeLoader->addSwaggerUiUrl($context->getContextKey()); |
| 54 | 54 | } |
| 55 | 55 | ); |