Skip to content

Commit

Permalink
[ProductBundle] default return empty array instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
breakone authored and dpfaffenbauer committed Feb 12, 2024
1 parent b23e089 commit 30aac39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function preGetData($object)
}
}

return $data;
return $data ?? [];
}

public function createDataCopy(Concrete $object, $data)
Expand Down

0 comments on commit 30aac39

Please sign in to comment.