Passed
Branch master (e6ec02)
by Osma
03:38
created
model/Request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
     public function getRequestUri()
171 171
     {
172
-        return $this->getServerConstant('HTTP_HOST') . $this->getServerConstant('REQUEST_URI');
172
+        return $this->getServerConstant('HTTP_HOST').$this->getServerConstant('REQUEST_URI');
173 173
     }
174 174
 
175 175
     /**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      * @param string $newlang new UI language to set
178 178
      * @return string the relative url of the page
179 179
      */
180
-    public function getLangUrl($newlang=null)
180
+    public function getLangUrl($newlang = null)
181 181
     {
182 182
         $script_name = str_replace('/index.php', '', $this->getServerConstant('SCRIPT_NAME'));
183 183
         $langurl = substr(str_replace($script_name, '', $this->getServerConstant('REQUEST_URI')), 1);
Please login to merge, or discard this patch.