Skip to content

Commit c529cf9

Browse files
committed
improvements
1 parent 1098d45 commit c529cf9

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Symfony/Bridge/Doctrine/Tests/Types/DatePointTypeTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use DateTimeImmutable;
1515
use Doctrine\DBAL\Platforms\AbstractPlatform;
1616
use Doctrine\DBAL\Platforms\MariaDBPlatform;
17-
use Doctrine\DBAL\Platforms\MySQLPlatform;
1817
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
1918
use Doctrine\DBAL\Platforms\SqlitePlatform;
2019
use Doctrine\DBAL\Types\ConversionException;

src/Symfony/Bridge/Doctrine/Types/DatePointType.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ public function convertToPHPValue(mixed $value, AbstractPlatform $platform): ?Da
2727
}
2828

2929
$value = parent::convertToPHPValue($value, $platform);
30-
if (null === $value) {
31-
return null;
32-
}
3330

3431
return DatePoint::createFromInterface($value);
3532
}

0 commit comments

Comments
 (0)