Passed
Push — 1.0.0-dev ( 294a70...e45720 )
by nguereza
02:47
created
core/classes/GlobalVar.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -234,10 +234,10 @@  discard block
 block discarded – undo
234 234
             return $this->removeVars($_ENV, $key);
235 235
         }
236 236
 
237
-         /**
238
-         * Get the value from $GLOBALS for given key. if the key is empty will return all values
239
-         * @see GlobalVar::getVars 
240
-         */
237
+            /**
238
+             * Get the value from $GLOBALS for given key. if the key is empty will return all values
239
+             * @see GlobalVar::getVars 
240
+             */
241 241
         public function globals($key = null, $xss = true) {
242 242
             return $this->getVars($GLOBALS, $key, $xss);
243 243
         }
@@ -259,16 +259,16 @@  discard block
 block discarded – undo
259 259
         }
260 260
 
261 261
         
262
-         /**
263
-         * Set the value for $_GET, $_POST, $_SERVER etc. if the key is an array will
264
-         * set the current super variable value by this.
265
-         * @param array $var the super global variable to use, can be "$_POST", "$_GET", etc.
266
-         * @param  string|array  $key the item key to be set or array if need set the current global variable 
267
-         * by this value
268
-         * @param mixed $value the value to set if $key is not an array
269
-         *
270
-         * @return object       the current instance
271
-         */
262
+            /**
263
+             * Set the value for $_GET, $_POST, $_SERVER etc. if the key is an array will
264
+             * set the current super variable value by this.
265
+             * @param array $var the super global variable to use, can be "$_POST", "$_GET", etc.
266
+             * @param  string|array  $key the item key to be set or array if need set the current global variable 
267
+             * by this value
268
+             * @param mixed $value the value to set if $key is not an array
269
+             *
270
+             * @return object       the current instance
271
+             */
272 272
         protected function setVars(&$var, $key, $value = null) {
273 273
             if (is_array($key)) {
274 274
                 //set all
Please login to merge, or discard this patch.
core/classes/Config.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -165,17 +165,17 @@
 block discarded – undo
165 165
         }
166 166
          
167 167
         /**
168
-        * Return the server port using variable
169
-        *
170
-        * @codeCoverageIgnore
171
-        * @return string
172
-        */
168
+         * Return the server port using variable
169
+         *
170
+         * @codeCoverageIgnore
171
+         * @return string
172
+         */
173 173
         protected static function getServerPort() {
174 174
             $globals = & class_loader('GlobalVar', 'classes');
175 175
             $serverPortValue = $globals->server('SERVER_PORT');
176 176
             $serverPort = 80;
177 177
             if ($serverPortValue) {
178
-                 $serverPort = $serverPortValue;
178
+                    $serverPort = $serverPortValue;
179 179
             }
180 180
             $port = '';
181 181
             if ((is_https() && $serverPort != 443) || (!is_https() && $serverPort != 80)) {
Please login to merge, or discard this patch.
core/classes/Request.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -207,10 +207,10 @@
 block discarded – undo
207 207
             return $this;
208 208
         }
209 209
 
210
-         /**
211
-         * Return the instance of session.
212
-         * @return object the session instance
213
-         */
210
+            /**
211
+             * Return the instance of session.
212
+             * @return object the session instance
213
+             */
214 214
         public function getSession() {
215 215
             return $this->session;
216 216
         }
Please login to merge, or discard this patch.