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