Completed
Push — master ( 169d00...4342ab )
by Taosikai
13:53
created
Container.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Slince\Di;
13 13
 
14 14
 use Slince\Di\Exception\ConfigException;
15
-use Slince\Di\Exception\DependencyInjectionException;
16 15
 use Slince\Di\Exception\NotFoundException;
17 16
 use Interop\Container\ContainerInterface;
18 17
 
Please login to merge, or discard this patch.
Definition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     {
220 220
         $this->calls[] = [
221 221
             $method,
222
-            (array)$arguments
222
+            (array) $arguments
223 223
         ];
224 224
         return $this;
225 225
     }
Please login to merge, or discard this patch.
DefinitionResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
             return $this->container->get(substr($value, 1));
218 218
         }
219 219
         //"fool%bar%baz"
220
-        return preg_replace_callback("#%([^%\s]+)%#", function ($matches) {
220
+        return preg_replace_callback("#%([^%\s]+)%#", function($matches) {
221 221
             $key = $matches[1];
222 222
             if ($parameter = $this->container->getParameter($key)) {
223 223
                 return $parameter;
Please login to merge, or discard this patch.