Version 2.0.1 (#3853)
* configure email validation mode to fix deprecation message * allow to use non brand icon in saml provider * new method getCalculatedDuration() * getRawData() by id * only stop entries if new one is running * fix validator tampering with timesheet duration * fix allow setting null as customer * bump packages
This commit is contained in:
@@ -21,12 +21,13 @@ final class UTCDateTimeType extends DateTimeType
|
||||
private static ?\DateTimeZone $utc = null;
|
||||
|
||||
/**
|
||||
* @param mixed $value
|
||||
* @param T $value
|
||||
* @param AbstractPlatform $platform
|
||||
* @return mixed|string
|
||||
* @return (T is null ? null : string)
|
||||
* @template T<\DateTime>
|
||||
* @throws ConversionException
|
||||
*/
|
||||
public function convertToDatabaseValue($value, AbstractPlatform $platform): mixed
|
||||
public function convertToDatabaseValue($value, AbstractPlatform $platform): ?string
|
||||
{
|
||||
if ($value instanceof \DateTime) {
|
||||
$value = clone $value;
|
||||
|
||||
Reference in New Issue
Block a user