Completed
Pull Request — master (#6)
by Joao
21s
created
src/Definition.php 1 patch
Spacing   +3 added lines, -3 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(CacheInterface $cache, $configName = "live")
97 97
     {
98
-        foreach ((array)$configName as $item) {
98
+        foreach ((array) $configName as $item) {
99 99
             try {
100 100
                 $date = new DateInterval('P7D');
101 101
             } catch (Exception $ex) {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     public function setCacheTTL(DateInterval $ttl, $configName = "live")
117 117
     {
118
-        foreach ((array)$configName as $item) {
118
+        foreach ((array) $configName as $item) {
119 119
             if (!isset($this->cache[$item])) {
120 120
                 throw new ConfigException('Configuration does not exists. Cannot set Cache TTL.');
121 121
             }
Please login to merge, or discard this patch.