diff --git a/src/helpers.php b/src/helpers.php index 765efaa..a379ef2 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -21,7 +21,7 @@ if (! function_exists('array_undot')) { $array = []; foreach ($dotNotationArray as $key => $value) { - array_set($array, $key, $value); + \Illuminate\Support\Arr::set($array, $key, $value); } return $array;