Completed
Push — master ( cff60c...e9ec3c )
by Lars
04:33
created
src/voku/helper/Bootup.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     $uri = preg_replace_callback(
96 96
         '/[\x80-\xFF]+/',
97
-        function ($m) {
97
+        function($m) {
98 98
           return urlencode($m[0]);
99 99
         },
100 100
         $uri
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
     $uri = preg_replace_callback(
104 104
         '/(?:%[89A-F][0-9A-F])+/i',
105
-        function ($m) {
105
+        function($m) {
106 106
           return urlencode(UTF8::encode('UTF-8', urldecode($m[0])));
107 107
         },
108 108
         $uri
@@ -117,8 +117,8 @@  discard block
 block discarded – undo
117 117
     ) {
118 118
       // Use ob_start() to buffer content and avoid problem of headers already sent...
119 119
       $severProtocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.1');
120
-      header($severProtocol . ' 301 Moved Permanently');
121
-      header('Location: ' . $uri);
120
+      header($severProtocol.' 301 Moved Permanently');
121
+      header('Location: '.$uri);
122 122
       exit();
123 123
     }
124 124
 
Please login to merge, or discard this patch.