Completed
Push — master ( 9b8f3d...1967a6 )
by Joao
12s
created
config/config-closure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'closureProp' => function ($param1, $param2) {
4
+    'closureProp' => function($param1, $param2) {
5 5
         return $param1 . ':' . $param2;
6 6
     },
7
-    'closureProp2' => function () {
7
+    'closureProp2' => function() {
8 8
         return 'No Param';
9 9
     },
10 10
 ];
Please login to merge, or discard this patch.
config/config-test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 return [
4 4
     'property1' => 'string',
5 5
     'property2' => true,
6
-    'property3' => function () {
6
+    'property3' => function() {
7 7
         return 'calculated';
8 8
     },
9 9
 ];
Please login to merge, or discard this patch.
src/Definition.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
      */
37 37
     private function loadConfig($currentConfig, $env)
38 38
     {
39
-        $file = __DIR__ . '/../../../../config/config-' . $env .  '.php';
39
+        $file = __DIR__ . '/../../../../config/config-' . $env . '.php';
40 40
 
41 41
         if (!file_exists($file)) {
42
-            $file = __DIR__ . '/../config/config-' . $env .  '.php';
42
+            $file = __DIR__ . '/../config/config-' . $env . '.php';
43 43
         }
44 44
 
45 45
         if (!file_exists($file)) {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function setCache(CacheInterface $cache, $env = "live")
63 63
     {
64
-        foreach ((array)$env as $item) {
64
+        foreach ((array) $env as $item) {
65 65
             $this->cache[$item] = $cache;
66 66
             $this->cacheTTL[$item] = new \DateInterval('P7D');
67 67
         }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function setCacheTTL(\DateInterval $ttl, $env = "live")
78 78
     {
79
-        foreach ((array)$env as $item) {
79
+        foreach ((array) $env as $item) {
80 80
             if (!isset($this->cache[$item])) {
81 81
                 throw new \Exception('Environment does not exists. Could not set Cache TTL.');
82 82
             }
Please login to merge, or discard this patch.