@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM\Tools\Pagination; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM\Cache; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM\Cache\Persister\Entity; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM\Cache\Persister\Collection; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\ORM\Cache; |
6 | 6 | |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | $uow->registerManaged($state, ['id' => $state->getId()], ['name' => $city->getName()]); |
398 | 398 | $uow->registerManaged($city, ['id' => $city->getId()], ['name' => $city->getName(), 'state' => $state]); |
399 | 399 | |
400 | - $this->region->addReturn('put', true); // put root entity |
|
400 | + $this->region->addReturn('put', true); // put root entity |
|
401 | 401 | $this->region->addReturn('put', false); // association fails |
402 | 402 | |
403 | 403 | self::assertFalse($this->queryCache->put($key, $rsm, $result)); |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | $uow->registerManaged($city2, ['id' => $city2->getId()], ['name' => $city2->getName(), 'state' => $state]); |
431 | 431 | $uow->registerManaged($state, ['id' => $state->getId()], ['name' => $state->getName(), 'cities' => $state->getCities()]); |
432 | 432 | |
433 | - $this->region->addReturn('put', true); // put root entity |
|
433 | + $this->region->addReturn('put', true); // put root entity |
|
434 | 434 | $this->region->addReturn('put', false); // collection association fails |
435 | 435 | |
436 | 436 | self::assertFalse($this->queryCache->put($key, $rsm, $result)); |
@@ -598,7 +598,7 @@ discard block |
||
598 | 598 | $attractions = $reflection->invoke($this->queryCache, $rsm, 'a', $bavaria); |
599 | 599 | |
600 | 600 | self::assertCount(2, $cities); |
601 | - self::assertCount(2, $attractions); |
|
601 | + self::assertCount(2, $attractions); |
|
602 | 602 | |
603 | 603 | self::assertInstanceOf(Collection::class, $cities); |
604 | 604 | self::assertInstanceOf(Collection::class, $attractions[0]); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | use Doctrine\ORM\Annotation as ORM; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\DDC6412; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\Forum; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Models\DDC2372; |
6 | 6 |