Passed
Pull Request — master (#1567)
by Osma
03:40
created
model/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @param int $maxlength maximum length of parameter, or null if unlimited
124 124
      * @return string parameter content, or null if no parameter found
125 125
      */
126
-    public function getQueryParamPOST($paramName, $maxlength=null)
126
+    public function getQueryParamPOST($paramName, $maxlength = null)
127 127
     {
128 128
         if (!isset($this->queryParamsPOST[$paramName])) return null;
129 129
         $val = filter_var($this->queryParamsPOST[$paramName], FILTER_SANITIZE_FULL_SPECIAL_CHARS);
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 
215 215
     public function getRequestUri()
216 216
     {
217
-        return $this->getServerConstant('HTTP_HOST') . $this->getServerConstant('REQUEST_URI');
217
+        return $this->getServerConstant('HTTP_HOST').$this->getServerConstant('REQUEST_URI');
218 218
     }
219 219
 
220 220
     /**
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      * @param string $newlang new UI language to set
223 223
      * @return string the relative url of the page
224 224
      */
225
-    public function getLangUrl($newlang=null)
225
+    public function getLangUrl($newlang = null)
226 226
     {
227 227
         $script_name = str_replace('/index.php', '', $this->getServerConstant('SCRIPT_NAME'));
228 228
         $langurl = substr(str_replace($script_name, '', strval($this->getServerConstant('REQUEST_URI'))), 1);
Please login to merge, or discard this patch.