Completed
Pull Request — master (#6)
by Joao
14s
created
src/DependencyInjection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function getArgs($argsToParse = null)
67 67
     {
68
-            return array_map(function ($value) {
68
+            return array_map(function($value) {
69 69
                 if ($value instanceof Param) {
70 70
                     try {
71 71
                         return $this->containerInterface->get($value->getParam());
Please login to merge, or discard this patch.
src/Definition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     private function loadConfigFile($configName)
53 53
     {
54
-        $file = $this->getBaseDir() . '/config-' . $configName .  '.php';
54
+        $file = $this->getBaseDir() . '/config-' . $configName . '.php';
55 55
 
56 56
         if (!file_exists($file)) {
57 57
             return null;
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function setCache($configName, CacheInterface $cache, DateInterval $ttl = null)
97 97
     {
98
-        foreach ((array)$configName as $item) {
98
+        foreach ((array) $configName as $item) {
99 99
             try {
100 100
                 $date = empty($ttl) ? new DateInterval('P7D') : $ttl;
101 101
             } catch (Exception $ex) {
Please login to merge, or discard this patch.