@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Tests; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Tests; |
| 5 | 5 | |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | |
| 147 | 147 | public function testMethodForward() |
| 148 | 148 | { |
| 149 | - if (!$this->methodName) { |
|
| 149 | + if ( ! $this->methodName) { |
|
| 150 | 150 | return; |
| 151 | 151 | } |
| 152 | 152 | |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | ][random_int(0, 1)]; |
| 167 | 167 | |
| 168 | 168 | $this->methodsWithValues = [ |
| 169 | - 'isTrue' => !!random_int(0, 1), |
|
| 169 | + 'isTrue' => ! ! random_int(0, 1), |
|
| 170 | 170 | 'getInt' => mt_rand(), |
| 171 | 171 | 'withArgument' => mt_rand(), |
| 172 | 172 | 'throwException' => new \Exception('' . mt_rand()) |