Passed
Push — develop ( 1ecc79...d0eb21 )
by nguereza
01:58
created
src/Container.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -95,8 +95,8 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function __construct()
97 97
     {
98
-        $this->resolver =  new ConstructorResolver();
99
-        $this->storage =  new StorageCollection();
98
+        $this->resolver = new ConstructorResolver();
99
+        $this->storage = new StorageCollection();
100 100
         
101 101
         static::$instance = $this;
102 102
     }
@@ -316,12 +316,12 @@  discard block
 block discarded – undo
316 316
         if (is_callable($type)) {
317 317
             return Closure::fromCallable($type);
318 318
         } elseif (is_string($type) === false) {
319
-            return function () use ($type) {
319
+            return function() use ($type) {
320 320
                 return $type;
321 321
             };
322 322
         }
323 323
 
324
-        return function ($container, $parameters) use ($type) {
324
+        return function($container, $parameters) use ($type) {
325 325
             return $container->getResolver()
326 326
                              ->resolve($container, $type, $parameters);
327 327
         };
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * @class Container
59 59
  * @package Platine\Container
60 60
  */
61
-class Container implements ContainerInterface
62
-{
61
+class Container implements ContainerInterface {
63 62
     /**
64 63
      * The container global instance
65 64
      * @var Container|null
@@ -93,8 +92,7 @@  discard block
 block discarded – undo
93 92
     /**
94 93
      * Create new container instance
95 94
      */
96
-    public function __construct()
97
-    {
95
+    public function __construct() {
98 96
         $this->resolver =  new ConstructorResolver();
99 97
         $this->storage =  new StorageCollection();
100 98
         
Please login to merge, or discard this patch.