Completed
Push — master ( 58c9b2...61e000 )
by
unknown
26s
created
Zewa/Request.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
                 // iterate through all the entries
173 173
                 foreach ($this->flashdata as $variable => $data) {
174 174
                     // increment counter representing server requests
175
-                    $this->flashdata[$variable]['inc'] ++;
175
+                    $this->flashdata[$variable]['inc']++;
176 176
 
177 177
                     // if we're past the first server request
178 178
                     if ($this->flashdata[$variable]['inc'] > 1) {
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
                 //@TODO this will not accept all float values, this validates /against/ syntax
349 349
 
350 350
                 if (($int === (int)trim($data, '-')) && strlen((string)(int)$data) === strlen($data)) {
351
-                    $data = (int) $data;
351
+                    $data = (int)$data;
352 352
                 } elseif ($int !== $float && preg_match($re, $data) === 1) {
353 353
                     $data = floatval($data);
354 354
                 }
@@ -368,12 +368,12 @@  discard block
 block discarded – undo
368 368
             $container = $name . 'Container';
369 369
             $container = $this->$container;
370 370
 
371
-            $argument = ! empty($arguments[0]) ? $arguments[0] : false;
371
+            $argument = !empty($arguments[0]) ? $arguments[0] : false;
372 372
 
373 373
             if ($argument === false && !empty($container)) {
374 374
                 return $container;
375 375
             }
376
-            if (! empty($container[$argument])) {
376
+            if (!empty($container[$argument])) {
377 377
                 if (!is_array($container[$argument])
378 378
                     && !is_object($container[$argument])
379 379
                     && strlen($container[$argument]) > 0
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
                 }
385 385
             }
386 386
 
387
-            return ! empty($arguments[1]) ? $arguments[1] : false;
387
+            return !empty($arguments[1]) ? $arguments[1] : false;
388 388
         }
389 389
 
390 390
         throw new Exception\FunctionException('Method ' . $name . ' does not exist.');
Please login to merge, or discard this patch.