Completed
Pull Request — master (#104)
by
unknown
02:12
created
Zewa/Security.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 //@TODO this will not accept all float values, this validates /against/ syntax
49 49
 
50 50
                 if (($int === (int)trim($data, '-')) && strlen((string)(int)$data) === strlen($data)) {
51
-                    $data = (int) $data;
51
+                    $data = (int)$data;
52 52
                 } elseif ($int !== $float && preg_match($re, $data) === 1 && strlen($data) === strlen($float)) {
53 53
                     $data = $float;
54 54
                 }
Please login to merge, or discard this patch.
Zewa/HTTP/Put.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/HTTP/SuperGlobal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/HTTP/Delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa;
4 4
 
5 5
 use Sabre\Event\Emitter;
Please login to merge, or discard this patch.
Zewa/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function isEmpty() : bool
37 37
     {
38
-        if (! empty($this->collection)) {
38
+        if (!empty($this->collection)) {
39 39
             return false;
40 40
         }
41 41
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         $result = [];
135 135
 
136 136
         foreach ($this->collection as $key => $item) {
137
-            if (! $func($key, $item)) {
137
+            if (!$func($key, $item)) {
138 138
                 $result[$key] = $item;
139 139
             }
140 140
         }
Please login to merge, or discard this patch.
Zewa/HTTP/Session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Zewa\HTTP;
4 4
 
5 5
 use Zewa\Container;
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                 unset($_SESSION[$variable], $this->flashdata[$variable]);
52 52
             } else {
53 53
                 $this->flashdata[$variable]['value'] = $data['value'];
54
-                $this->flashdata[$variable]['increment'] ++;
54
+                $this->flashdata[$variable]['increment']++;
55 55
             }
56 56
         }
57 57
 
Please login to merge, or discard this patch.