Completed
Push — v1 ( 7346d5...80de49 )
by Dominik
09:51 queued 06:37
created
src/Igorw/Silex/ConfigServiceProvider.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,10 @@
 block discarded – undo
44 44
     {
45 45
         $config = $this->readConfig();
46 46
 
47
-        foreach ($config as $name => $value)
48
-            if ('%' === substr($name, 0, 1))
47
+        foreach ($config as $name => $value) {
48
+                    if ('%' === substr($name, 0, 1))
49 49
                 $this->replacements[$name] = (string) $value;
50
+        }
50 51
 
51 52
         $this->merge($app, $config);
52 53
     }
Please login to merge, or discard this patch.
src/Igorw/Silex/JsonConfigDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $json = file_get_contents($filename);
28 28
 
29 29
         // handle empty as []
30
-        if(empty($json)) {
30
+        if (empty($json)) {
31 31
             return array();
32 32
         }
33 33
 
Please login to merge, or discard this patch.