@@ -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 | ); |
@@ -69,8 +69,7 @@ discard block |
||
69 | 69 | * class AbstractApplication |
70 | 70 | * @package Platine\Framework |
71 | 71 | */ |
72 | -abstract class AbstractApplication extends Container |
|
73 | -{ |
|
72 | +abstract class AbstractApplication extends Container { |
|
74 | 73 | |
75 | 74 | /** |
76 | 75 | * The application version |
@@ -99,8 +98,7 @@ discard block |
||
99 | 98 | * Create new instance |
100 | 99 | * @param string|null $basePath |
101 | 100 | */ |
102 | - public function __construct(?string $basePath = null) |
|
103 | - { |
|
101 | + public function __construct(?string $basePath = null) { |
|
104 | 102 | parent::__construct(); |
105 | 103 | $this->addCoreServiceProviders(); |
106 | 104 |