@@ -65,7 +65,7 @@ |
||
| 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()); |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | private function loadConfigFile($configName) |
| 56 | 56 | { |
| 57 | - $file = $this->getBaseDir() . '/config-' . $configName . '.php'; |
|
| 57 | + $file = $this->getBaseDir() . '/config-' . $configName . '.php'; |
|
| 58 | 58 | |
| 59 | 59 | if (!file_exists($file)) { |
| 60 | 60 | return null; |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | return null; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | - return array_merge((array)$global, (array)$envSpecific); |
|
| 75 | + return array_merge((array) $global, (array) $envSpecific); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | private function loadEnvFileContents($filename) |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | */ |
| 110 | 110 | public function setCache($configName, CacheInterface $cache, DateInterval $ttl = null) |
| 111 | 111 | { |
| 112 | - foreach ((array)$configName as $item) { |
|
| 112 | + foreach ((array) $configName as $item) { |
|
| 113 | 113 | try { |
| 114 | 114 | $date = empty($ttl) ? new DateInterval('P7D') : $ttl; |
| 115 | 115 | } catch (Exception $ex) { |