Skip to content

Commit ac399a4

Browse files
authored
fix: implement PhpDateTimeMappingType for TimestampType (#39377)
1 parent a2c557a commit ac399a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Database/DBAL/TimestampType.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44

55
use Doctrine\DBAL\DBALException;
66
use Doctrine\DBAL\Platforms\AbstractPlatform;
7+
use Doctrine\DBAL\Types\PhpDateTimeMappingType;
78
use Doctrine\DBAL\Types\Type;
89

9-
class TimestampType extends Type
10+
class TimestampType extends Type implements PhpDateTimeMappingType
1011
{
1112
/**
1213
* {@inheritdoc}

0 commit comments

Comments
 (0)