@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable\Fixtures; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable\Fixtures; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable\Fixtures; |
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 Tests\Innmind\Immutable; |
5 | 5 | |
@@ -463,7 +463,7 @@ discard block |
||
463 | 463 | |
464 | 464 | $v = $m->reduce( |
465 | 465 | 42, |
466 | - function (float $carry, int $key, int $value): float { |
|
466 | + function(float $carry, int $key, int $value): float { |
|
467 | 467 | return $carry / ($key * $value); |
468 | 468 | } |
469 | 469 | ); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable; |
5 | 5 | |
@@ -425,7 +425,7 @@ discard block |
||
425 | 425 | |
426 | 426 | $v = $s->reduce( |
427 | 427 | 42, |
428 | - function (float $carry, int $value): float { |
|
428 | + function(float $carry, int $value): float { |
|
429 | 429 | return $carry / $value; |
430 | 430 | } |
431 | 431 | ); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable; |
5 | 5 | |
@@ -487,7 +487,7 @@ discard block |
||
487 | 487 | $this->assertInstanceOf(S::class, $str2); |
488 | 488 | $this->assertNotSame($str, $str2); |
489 | 489 | $this->assertSame('He\xallo', $str->toString()); |
490 | - $this->assertSame('He' . "\n" . 'llo', $str2->toString()); |
|
490 | + $this->assertSame('He'."\n".'llo', $str2->toString()); |
|
491 | 491 | } |
492 | 492 | |
493 | 493 | public function testWordCount() |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace Tests\Innmind\Immutable; |
5 | 5 |