Completed
Push — master ( 721e90...cb7420 )
by Nicolaas
07:06 queued 01:57
created
code/api/CountryURLProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         $potentialCountry = '';
41 41
         if ($includeGetVariable) {
42 42
             $getVar = Config::inst()->get('CountryURLProvider', 'locale_get_parameter');
43
-            if(isset($_GET[$getVar])) {
43
+            if (isset($_GET[$getVar])) {
44 44
                 $potentialCountry = $_GET[$getVar];
45 45
             }
46 46
         }
@@ -92,14 +92,14 @@  discard block
 block discarded – undo
92 92
             }
93 93
             $parsedUrl['path'] = implode('/', $pathParts);
94 94
             $newURL =
95
-                $parsedUrl['scheme'] .
96
-                '://' .
95
+                $parsedUrl['scheme'].
96
+                '://'.
97 97
                 Controller::join_links(
98 98
                     $parsedUrl['host'],
99 99
                     $parsedUrl['path']
100 100
                 );
101 101
             if (isset($parsedUrl['query'])) {
102
-                $newURL = $newURL . '?' . $parsedUrl['query'];
102
+                $newURL = $newURL.'?'.$parsedUrl['query'];
103 103
             }
104 104
         }
105 105
         if (trim($oldURL, '/') !== trim($newURL, '/')) {
Please login to merge, or discard this patch.