@@ -54,7 +54,7 @@ |
||
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 | /** |
@@ -38,7 +38,7 @@ |
||
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 | /** |
@@ -50,7 +50,7 @@ |
||
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 | /** |
@@ -58,7 +58,7 @@ |
||
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 | /** |