Passed
Push — 7.x ( 3ebc9f...4982c4 )
by Adrien
08:52
created
SplTypeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     final public function __toString(): string
56 56
     {
57
-        return (string) $this->__default;
57
+        return (string)$this->__default;
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
Tests/phpunit/SplIntTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@
 block discarded – undo
26 26
     public function test(): void
27 27
     {
28 28
         $instance = new DuckInt();
29
-        $this->assertSame(0, (int) (string) $instance);
29
+        $this->assertSame(0, (int)(string)$instance);
30 30
         unset($instance);
31 31
 
32 32
         $instance = new DuckInt(10);
33
-        $this->assertSame(10, (int) (string) $instance);
33
+        $this->assertSame(10, (int)(string)$instance);
34 34
         unset($instance);
35 35
     }
36 36
 
Please login to merge, or discard this patch.
Tests/benchmark/SplFloatBench.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function benchCreateRand(): void
40 40
     {
41
-        new DuckFloat((float) mt_rand());
41
+        new DuckFloat((float)mt_rand());
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
Tests/benchmark/SplStringBench.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     public function benchCreateNumeric(): void
52 52
     {
53
-        new DuckString((string) mt_rand());
53
+        new DuckString((string)mt_rand());
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.