Passed
Push — develop ( d0eb21...103056 )
by nguereza
01:57
created
src/StorageCollection.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@  discard block
 block discarded – undo
51 51
  * @class StorageCollection
52 52
  * @package Platine\Container
53 53
  */
54
-class StorageCollection
55
-{
54
+class StorageCollection {
56 55
     /**
57 56
      * The array of storage
58 57
      * @var array<string, StorageInterface>
@@ -70,8 +69,7 @@  discard block
 block discarded – undo
70 69
      *
71 70
      * @param StorageInterface[] $storages  the container storage
72 71
      */
73
-    public function __construct(array $storages = [])
74
-    {
72
+    public function __construct(array $storages = []) {
75 73
         foreach ($storages as $storage) {
76 74
             $this->add($storage);
77 75
         }
Please login to merge, or discard this patch.
src/Container.php 1 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.