@@ -56,8 +56,7 @@ |
||
56 | 56 | * @class FilesystemServiceProvider |
57 | 57 | * @package Platine\Framework\Service\Provider |
58 | 58 | */ |
59 | -class FilesystemServiceProvider extends ServiceProvider |
|
60 | -{ |
|
59 | +class FilesystemServiceProvider extends ServiceProvider { |
|
61 | 60 | |
62 | 61 | /** |
63 | 62 | * {@inheritdoc} |
@@ -76,14 +76,14 @@ |
||
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.0.0'); |
81 | 81 | }); |
82 | 82 | $this->app->share(ContainerInterface::class, $this->app); |
83 | 83 | $this->app->bind(ResolverInterface::class, ConstructorResolver::class); |
84 | 84 | $this->app->bind(RouteCollectionInterface::class, RouteCollection::class); |
85 | 85 | $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class); |
86 | - $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) { |
|
86 | + $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) { |
|
87 | 87 | return new ResponseEmitter( |
88 | 88 | $app->get(Config::class)->get('app.response_chunck_size', null) |
89 | 89 | ); |