diff --git a/packages/utilities/src/Arr.php b/packages/utilities/src/Arr.php index cb77366d4..336a1a6c0 100644 --- a/packages/utilities/src/Arr.php +++ b/packages/utilities/src/Arr.php @@ -832,6 +832,18 @@ public static function mapRecursive( return $result; } + /** + * A simple merge proxy to avoid resources greedy construction. + * + * @param ...$args + * + * @return array + */ + public static function merge(...$args): array + { + return array_merge(...$args); + } + /** * Merge array recursively. *