Completed
Pull Request — master (#508)
by Pierre
03:30 queued 01:16
created
src/Gaufrette/Util/Path.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         $encodedUrl = preg_replace_callback(
102 102
             '%[^:/@?&=#]+%usD',
103
-            function ($matches)
103
+            function($matches)
104 104
             {
105 105
                 return urlencode($matches[0]);
106 106
             },
@@ -109,12 +109,12 @@  discard block
 block discarded – undo
109 109
 
110 110
         $parts = parse_url($encodedUrl);
111 111
 
112
-        if($parts === false)
112
+        if ($parts === false)
113 113
         {
114 114
             return false;
115 115
         }
116 116
 
117
-        foreach($parts as $name => $value)
117
+        foreach ($parts as $name => $value)
118 118
         {
119 119
             $parts[$name] = urldecode($value);
120 120
         }
Please login to merge, or discard this patch.