Passed
Push — 7.x ( af8963...debb41 )
by Adrien
02:47
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/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.
Tests/phpunit/SplStringTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function testStringCast(): void
59 59
     {
60 60
         $instance = new DuckString('hello world');
61
-        $this->assertSame('hello world', (string) $instance);
61
+        $this->assertSame('hello world', (string)$instance);
62 62
     }
63 63
 
64 64
     /**
Please login to merge, or discard this patch.