Skip to content

Commit cf9e3ce

Browse files
More return type fixes (bis)
1 parent 06fdac9 commit cf9e3ce

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CacheWarmer/ProxyCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(ManagerRegistry $registry)
3434
/**
3535
* This cache warmer is not optional, without proxies fatal error occurs!
3636
*
37-
* @return false
37+
* @return bool
3838
*/
3939
public function isOptional()
4040
{

Tests/IdGenerator/UuidGeneratorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Bridge\Doctrine\IdGenerator\UuidGenerator;
1616
use Symfony\Component\Uid\Factory\UuidFactory;
17-
use Symfony\Component\Uid\NilUuid;
1817
use Symfony\Component\Uid\Uuid;
1918
use Symfony\Component\Uid\UuidV4;
2019
use Symfony\Component\Uid\UuidV6;
@@ -35,7 +34,7 @@ public function testUuidCanBeGenerated()
3534

3635
public function testCustomUuidfactory()
3736
{
38-
$uuid = new NilUuid();
37+
$uuid = new UuidV4();
3938
$em = new EntityManager();
4039
$factory = $this->createMock(UuidFactory::class);
4140
$factory->expects($this->any())

0 commit comments

Comments
 (0)