@@ -177,7 +177,7 @@ |
||
| 177 | 177 | $router = new Router(); |
| 178 | 178 | $router->setBasePath($this->basePath); |
| 179 | 179 | |
| 180 | - $routes = static function (Router $router): void { |
|
| 180 | + $routes = static function(Router $router): void { |
|
| 181 | 181 | $router->get('/tnh', MyRequestHandler::class, 'home'); |
| 182 | 182 | }; //Come from config [routes.php] |
| 183 | 183 | |
@@ -130,13 +130,13 @@ |
||
| 130 | 130 | $this->bind(ResolverInterface::class, ConstructorResolver::class); |
| 131 | 131 | $this->bind(CallableResolverInterface::class, CallableResolver::class); |
| 132 | 132 | $this->bind(RequestHandlerInterface::class, $this); |
| 133 | - $this->bind(EmitterInterface::class, function (ContainerInterface $app) { |
|
| 133 | + $this->bind(EmitterInterface::class, function(ContainerInterface $app) { |
|
| 134 | 134 | return new ResponseEmitter( |
| 135 | 135 | $app->get(Config::class)->get('app.response_length', null) |
| 136 | 136 | ); |
| 137 | 137 | }); |
| 138 | 138 | |
| 139 | - $this->bind(LoggerInterface::class, function (ContainerInterface $app) { |
|
| 139 | + $this->bind(LoggerInterface::class, function(ContainerInterface $app) { |
|
| 140 | 140 | return new Logger( |
| 141 | 141 | new Configuration($app->get(Config::class)->get('logging', [])) |
| 142 | 142 | ); |