Passed
Push — develop ( b729b4...acdfb2 )
by nguereza
42:48
created
src/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/AbstractApplication.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,13 +130,13 @@
 block discarded – undo
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
             );
Please login to merge, or discard this patch.