Completed
Push — master ( 160647...f5a28d )
by Maxim
03:50
created
src/Weew/Kernel/ContainerAware/ProviderInvoker.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * @return mixed
28 28
      */
29 29
     public function create($providerClass, IDictionary $shared) {
30
-        $provider = $this->container->get($providerClass, ['shared' => $shared]);
30
+        $provider = $this->container->get($providerClass, [ 'shared' => $shared ]);
31 31
         $this->container->set($providerClass, $provider);
32 32
 
33 33
         return $provider;
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param IDictionary $shared
39 39
      */
40 40
     public function configure($provider, IDictionary $shared) {
41
-        $this->container->callMethod($provider, 'configure', ['shared' => $shared]);
41
+        $this->container->callMethod($provider, 'configure', [ 'shared' => $shared ]);
42 42
     }
43 43
 
44 44
     /**
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param IDictionary $shared
47 47
      */
48 48
     public function initialize($provider, IDictionary $shared) {
49
-        $this->container->callMethod($provider, 'initialize', ['shared' => $shared]);
49
+        $this->container->callMethod($provider, 'initialize', [ 'shared' => $shared ]);
50 50
     }
51 51
 
52 52
     /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param IDictionary $shared
55 55
      */
56 56
     public function boot($provider, IDictionary $shared) {
57
-        $this->container->callMethod($provider, 'boot', ['shared' => $shared]);
57
+        $this->container->callMethod($provider, 'boot', [ 'shared' => $shared ]);
58 58
     }
59 59
 
60 60
     /**
@@ -62,6 +62,6 @@  discard block
 block discarded – undo
62 62
      * @param IDictionary $shared
63 63
      */
64 64
     public function shutdown($provider, IDictionary $shared) {
65
-        $this->container->callMethod($provider, 'shutdown', ['shared' => $shared]);
65
+        $this->container->callMethod($provider, 'shutdown', [ 'shared' => $shared ]);
66 66
     }
67 67
 }
Please login to merge, or discard this patch.