Skip to content

Commit

Permalink
fix: implement PhpDateTimeMappingType for TimestampType (#39377)
Browse files Browse the repository at this point in the history
  • Loading branch information
J0sh0nat0r authored Oct 28, 2021
1 parent a2c557a commit ac399a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Illuminate/Database/DBAL/TimestampType.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\PhpDateTimeMappingType;
use Doctrine\DBAL\Types\Type;

class TimestampType extends Type
class TimestampType extends Type implements PhpDateTimeMappingType
{
/**
* {@inheritdoc}
Expand Down

0 comments on commit ac399a4

Please sign in to comment.