| Total Complexity | 8 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class DateType extends Type |
||
| 14 | { |
||
| 15 | 1 | public function getSQLDeclaration(array $column, AbstractPlatform $platform): string |
|
| 16 | { |
||
| 17 | 1 | return $platform->getDateTypeDeclarationSQL($column); |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return ($value is null ? null : string) |
||
| 22 | */ |
||
| 23 | 2 | public function convertToDatabaseValue(mixed $value, AbstractPlatform $platform): ?string |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return ($value is null ? null : ChronosDate) |
||
| 38 | */ |
||
| 39 | 2 | public function convertToPHPValue(mixed $value, AbstractPlatform $platform): ?ChronosDate |
|
| 56 | } |
||
| 57 | } |
||
| 58 |