@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | $app[self::SWAGGER_ANALYSIS] = null; |
| 20 | 20 | $app[self::SWAGGER_PROCESSORS] = []; |
| 21 | 21 | |
| 22 | - $app[self::SWAGGER_CONFIG] = $app::share(function (Application $app) { |
|
| 22 | + $app[self::SWAGGER_CONFIG] = $app::share(function(Application $app) { |
|
| 23 | 23 | return new SwaggerConfig( |
| 24 | 24 | $app[self::SWAGGER_SERVICE_PATH], |
| 25 | 25 | $app[self::SWAGGER_ANALYSER], |
@@ -29,14 +29,14 @@ discard block |
||
| 29 | 29 | ); |
| 30 | 30 | }); |
| 31 | 31 | |
| 32 | - $app[self::SWAGGER_SERVICE] = $app::share(function (Application $app) { |
|
| 32 | + $app[self::SWAGGER_SERVICE] = $app::share(function(Application $app) { |
|
| 33 | 33 | return new SwaggerService( |
| 34 | 34 | $app[self::SWAGGER_CONFIG], |
| 35 | 35 | $app[self::SWAGGER_CACHE] |
| 36 | 36 | ); |
| 37 | 37 | }); |
| 38 | 38 | |
| 39 | - $app[self::SWAGGER] = $app::share(function (Application $app) { |
|
| 39 | + $app[self::SWAGGER] = $app::share(function(Application $app) { |
|
| 40 | 40 | /** @var SwaggerService $swagger */ |
| 41 | 41 | $swagger = $app[self::SWAGGER_SERVICE]; |
| 42 | 42 | return $swagger->getSwagger(); |