<?php | |
/** | |
* Thanks to https://github.com/flaushi for his suggestion: | |
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358 | |
*/ | |
namespace Carbon\Doctrine; | |
use Carbon\Carbon; | |
use Doctrine\DBAL\Types\VarDateTimeType; | |
class DateTimeType extends VarDateTimeType implements CarbonDoctrineType | |
{ | |
/** @use CarbonTypeConverter<Carbon> */ | |
use CarbonTypeConverter; | |
} |