Completed
Push — 1.0 ( 381ab3...f5e5ad )
by David
07:45
created
src/ServiceProviderPimpleBridge.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace TheCodingMachine\Pimple;
4 4
 
5
-use Acclimate\Container\CompositeContainer;
6 5
 use Acclimate\Container\ContainerAcclimator;
7 6
 use Interop\Container\ContainerInterface;
8 7
 use Interop\Container\ServiceProvider;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,14 +47,14 @@
 block discarded – undo
47 47
         foreach ($entries as $key => $callable) {
48 48
             if (isset($this->pimple[$key])) {
49 49
                 // Extend a previous entry
50
-                $this->pimple[$key] = $this->pimple->extend($key, function ($previous, Container $c) use ($callable) {
51
-                    $getPrevious = function () use ($previous) {
50
+                $this->pimple[$key] = $this->pimple->extend($key, function($previous, Container $c) use ($callable) {
51
+                    $getPrevious = function() use ($previous) {
52 52
                         return $previous;
53 53
                     };
54 54
                     return call_user_func($callable, $this->acclimatedPimple, $getPrevious);
55 55
                 });
56 56
             } else {
57
-                $this->pimple[$key] = function (Container $c) use ($callable) {
57
+                $this->pimple[$key] = function(Container $c) use ($callable) {
58 58
                     return call_user_func($callable, $this->acclimatedPimple, null);
59 59
                 };
60 60
             }
Please login to merge, or discard this patch.