src/Type/MicrotimeType.php
public function decode($value, Field $field, Codec $codec = null)
    {
        if (empty($value)) {
            return null;
        }

        if ($value instanceof Microtime) {
            return $value;
        }

        return Microtime::fromString((string) $value);
    }
public function decode($value, Field $field, Codec $codec = null)
    {
        if (empty($value)) {
            return null;
        }

        if ($value instanceof Microtime) {
            return $value;
        }

        return Microtime::fromString((string) $value);
    }
{@inheritdoc}