Passed
Push — develop ( b729b4...acdfb2 )
by nguereza
42:48
created
src/AbstractApplication.php 2 patches
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.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.