Completed
Push — master ( 256c3c...d8e20a )
by Karsten
01:47
created
src/Psi/Str/AbstractStringMatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
 
37 37
     public function __invoke($input)
38 38
     {
39
-        if (! is_string($input)) {
39
+        if ( ! is_string($input)) {
40 40
             return false;
41 41
         }
42 42
 
43 43
         $search = $this->getValue();
44 44
 
45
-        if (! is_string($search)) {
45
+        if ( ! is_string($search)) {
46 46
             return false;
47 47
         }
48 48
 
Please login to merge, or discard this patch.
src/Psi/ToFloat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function __construct($default = 0.0)
22 22
     {
23
-        $this->default  = (float) $default;
23
+        $this->default = (float) $default;
24 24
     }
25 25
 
26 26
     /**
Please login to merge, or discard this patch.
src/Operation/FullSet/UniqueByOperation.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,16 +37,16 @@
 block discarded – undo
37 37
     public function apply(\Iterator $set)
38 38
     {
39 39
         $map    = $this->mapper;
40
-        $result = [];
41
-        $known  = [];
40
+        $result = [ ];
41
+        $known  = [ ];
42 42
 
43 43
         foreach ($set as $item) {
44 44
 
45 45
             $mapped = $map($item);
46 46
 
47
-            if (! in_array($mapped, $known, $this->strict)) {
48
-                $known[]  = $mapped;
49
-                $result[] = $item;
47
+            if ( ! in_array($mapped, $known, $this->strict)) {
48
+                $known[ ]  = $mapped;
49
+                $result[ ] = $item;
50 50
             }
51 51
         }
52 52
 
Please login to merge, or discard this patch.