@@ -10,7 +10,7 @@ |
||
| 10 | 10 | |
| 11 | 11 | $kernel = $app->make(HttpKernel::class); |
| 12 | 12 | |
| 13 | -$kernel->use(function($req, $h){ |
|
| 13 | +$kernel->use(function($req, $h) { |
|
| 14 | 14 | return $h->handle($req); |
| 15 | 15 | }); |
| 16 | 16 | |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | { |
| 77 | 77 | $this->app->share(Application::class, $this->app); |
| 78 | 78 | $this->app->share('app', $this->app); |
| 79 | - $this->app->share(ConsoleApp::class, function () { |
|
| 79 | + $this->app->share(ConsoleApp::class, function() { |
|
| 80 | 80 | return new ConsoleApp('PLATINE CONSOLE', '1.6.8'); |
| 81 | 81 | }); |
| 82 | 82 | $this->app->share(ContainerInterface::class, $this->app); |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | $this->app->bind(RouteCollectionInterface::class, RouteCollection::class); |
| 85 | 85 | $this->app->share(Router::class); |
| 86 | 86 | $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class); |
| 87 | - $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) { |
|
| 87 | + $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) { |
|
| 88 | 88 | return new ResponseEmitter( |
| 89 | 89 | $app->get(Config::class)->get('app.response_chunck_size', null) |
| 90 | 90 | ); |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | public function register(): void |
| 71 | 71 | { |
| 72 | - $this->app->bind(Configuration::class, function (ContainerInterface $app) { |
|
| 72 | + $this->app->bind(Configuration::class, function(ContainerInterface $app) { |
|
| 73 | 73 | return new Configuration($app->get(Config::class)->get('lang', [])); |
| 74 | 74 | }); |
| 75 | 75 | $this->app->bind(StorageInterface::class, MemoryStorage::class); |