Passed
Push — 1.0.0-dev ( 632010...3e5cd9 )
by nguereza
02:59
created
core/classes/Url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
          * @return string the final path after add suffix if configured
143 143
          * otherwise the same value will be returned
144 144
          */
145
-        protected static function addSuffixInPath($path){
145
+        protected static function addSuffixInPath($path) {
146 146
             $suffix = get_config('url_suffix');
147 147
             if ($suffix && $path) {
148 148
                 if (strpos($path, '?') !== false) {
Please login to merge, or discard this patch.
core/classes/Request.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -262,24 +262,24 @@
 block discarded – undo
262 262
             return $this;
263 263
         }
264 264
 
265
-         /**
266
-         * Return the instance of session.
267
-         * @return object the session instance
268
-         */
265
+            /**
266
+             * Return the instance of session.
267
+             * @return object the session instance
268
+             */
269 269
         public function getSession() {
270 270
             return $this->session;
271 271
         }
272 272
 
273
-         /**
274
-         * Set the value for $_GET, $_POST, $_SERVER etc. if the key is an array will
275
-         * set the current super variable value by this.
276
-         * @param string $type the type can be "post", "get", etc.
277
-         * @param  string|array  $key the item key to be set or array if need set the current global variable 
278
-         * by this value
279
-         * @param mixed $value the value to set if $key is not an array
280
-         *
281
-         * @return object       the current instance
282
-         */
273
+            /**
274
+             * Set the value for $_GET, $_POST, $_SERVER etc. if the key is an array will
275
+             * set the current super variable value by this.
276
+             * @param string $type the type can be "post", "get", etc.
277
+             * @param  string|array  $key the item key to be set or array if need set the current global variable 
278
+             * by this value
279
+             * @param mixed $value the value to set if $key is not an array
280
+             *
281
+             * @return object       the current instance
282
+             */
283 283
         protected function setVars($type, $key, $value = null) {
284 284
             if (is_array($key)) {
285 285
                 //set all
Please login to merge, or discard this patch.