diff --git a/src/utils/utils.php b/src/utils/utils.php --- a/src/utils/utils.php +++ b/src/utils/utils.php @@ -960,7 +960,7 @@ * @param list $list (optional) List of scalars. * @return dict Dictionary with inputs mapped to themselves. */ -function array_fuse(array $list = null) { +function array_fuse(?array $list = null) { if ($list) { return array_combine($list, $list); }