Skip to content

Commit 9088ef1

Browse files
committed
fix: Undefined array key.
1 parent d1c6bc0 commit 9088ef1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Migration/Sources/CSV.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private function exportDocuments(int $batchSize): void
179179

180180
foreach ($data as $key => $value) {
181181
$parsedValue = trim($value);
182-
$type = $attributeTypes[$key];
182+
$type = $attributeTypes[$key] ?? null;
183183

184184
if (! isset($type) || $parsedValue === '') {
185185
continue;

0 commit comments

Comments
 (0)