8000 improvements · symfony/symfony@22ffb97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22ffb97

Browse files
committed
improvements
1 parent a831c3a commit 22ffb97

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
574D
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)
0