From 8108690e4130afa817246cc82a2adf453e41c6c2 Mon Sep 17 00:00:00 2001 From: Hampus Nordstrom Date: Mon, 29 Jul 2024 13:23:31 +0200 Subject: [PATCH] Update SpoutReaderFactory.php Corrected spelling, enclosure always fallback to double quotes. --- .../Tool/Component/Connector/Reader/File/SpoutReaderFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akeneo/Tool/Component/Connector/Reader/File/SpoutReaderFactory.php b/src/Akeneo/Tool/Component/Connector/Reader/File/SpoutReaderFactory.php index 073534f09dd4..63277012d7c0 100644 --- a/src/Akeneo/Tool/Component/Connector/Reader/File/SpoutReaderFactory.php +++ b/src/Akeneo/Tool/Component/Connector/Reader/File/SpoutReaderFactory.php @@ -33,7 +33,7 @@ public static function create(string $type, array $normalizedOptions = []): Read case self::CSV: $options = new CsvOptions(); $options->FIELD_DELIMITER = $normalizedOptions['fieldDelimiter'] ?? $options->FIELD_DELIMITER; - $options->FIELD_ENCLOSURE = $normalizedOptions['filedEnclosure'] ?? $options->FIELD_ENCLOSURE; + $options->FIELD_ENCLOSURE = $normalizedOptions['fieldEnclosure'] ?? $options->FIELD_ENCLOSURE; break; default: throw new \InvalidArgumentException(sprintf('"%s" is not a valid reader type', $type));