diff --git a/src/helpers.php b/src/helpers.php index ed871d7..54723ed 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -199,7 +199,7 @@ function array_pluck($array, $value, $key = null) */ function array_prepend($array, $value, $key = null) { - return Arr::prepend($array, $value, $key); + return Arr::prepend(...func_get_args()); } }