Skip to content

Commit

Permalink
Fixed definition of list_entry function in dsl (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech authored May 9, 2024
1 parent 2fda090 commit 0332b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/etl/src/Flow/ETL/DSL/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function structure_element(string $name, Type $type) : StructureElement
return new StructureElement($name, $type);
}

function list_entry(string $name, array $value, ListType $type) : Entry\ListEntry
function list_entry(string $name, ?array $value, ListType $type) : Entry\ListEntry
{
return new Entry\ListEntry($name, $value, $type);
}
Expand Down

0 comments on commit 0332b37

Please sign in to comment.