Classes/Console/Property/TypeConverter/ArrayConverter.php
public function convertFrom($source, $targetType, array $convertedChildProperties = [], PropertyMappingConfigurationInterface $configuration = null): array
    {
        if (is_string($source)) {
            if ($source === '') {
                return [];
            }

            return array_filter(array_map('trim', explode($this->getConfiguredStringDelimiter($configuration), $source)));
        }

        return $source;
    }
public function convertFrom($source, $targetType, array $convertedChildProperties = [], PropertyMappingConfigurationInterface $configuration = null): array
    {
        if (is_string($source)) {
            if ($source === '') {
                return [];
            }

            return array_filter(array_map('trim', explode($this->getConfiguredStringDelimiter($configuration), $source)));
        }

        return $source;
    }
Convert from $source to $targetType, a noop if the source is an array.
If it is a string it will be exploded by the configured string delimiter.

@param string|array $source
@param string $targetType
@param array $convertedChildProperties
@param PropertyMappingConfigurationInterface $configuration
@throws InvalidPropertyMappingConfigurationException
@return array