Completed
Push — master ( 68af3a...e12272 )
by Joao
40s queued 19s
created
src/Definition.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     private function loadConfigFile($env)
51 51
     {
52
-        $file = $this->getBaseDir() . '/config-' . $env .  '.php';
52
+        $file = $this->getBaseDir() . '/config-' . $env . '.php';
53 53
 
54 54
         if (!file_exists($file)) {
55 55
             return null;
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function setCache(CacheInterface $cache, $env = "live")
95 95
     {
96
-        foreach ((array)$env as $item) {
96
+        foreach ((array) $env as $item) {
97 97
             try {
98 98
                 $date = new DateInterval('P7D');
99 99
             } catch (Exception $ex) {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function setCacheTTL(DateInterval $ttl, $env = "live")
115 115
     {
116
-        foreach ((array)$env as $item) {
116
+        foreach ((array) $env as $item) {
117 117
             if (!isset($this->cache[$item])) {
118 118
                 throw new EnvironmentException('Environment does not exists. Could not set Cache TTL.');
119 119
             }
Please login to merge, or discard this patch.