Completed
Push — master ( 240098...9ef25d )
by Paweł
02:25
created
src/Helpers/Url.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $encodedUrl = preg_replace_callback(
24 24
             '%[^:/@?&=#]+%usD',
25
-            function ($matches) {
25
+            function($matches) {
26 26
                 return rawurlencode($matches[0]);
27 27
             },
28 28
             $url
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         if (!empty($url['query'])) {
66 66
             parse_str($url['query'], $query);
67 67
 
68
-            array_walk($query, function (&$val, &$var) {
68
+            array_walk($query, function(&$val, &$var) {
69 69
                 $var = rawurlencode($var);
70 70
                 $val = rawurlencode($val);
71 71
             });
Please login to merge, or discard this patch.