public static function merge(): array
    {
        $arguments = [];
        foreach (func_get_args() as $key => $val) {
            if (!Any::isArray($val)) {
                $val = [];
            }

            $arguments[$key] = $val;
        }
        return call_user_func_array('array_merge', $arguments);
    }
public static function merge(): array
    {
        $arguments = [];
        foreach (func_get_args() as $key => $val) {
            if (!Any::isArray($val)) {
                $val = [];
            }

            $arguments[$key] = $val;
        }
        return call_user_func_array('array_merge', $arguments);
    }
public static function merge ( ) : array { $ arguments = [ ] ; foreach ( func_get_args ( ) as $ key => $ val ) { if ( ! Any :: isArray ( $ val ) ) { $ val = [ ] ; } $ arguments [ $ key ] = $ val ; } return call_user_func_array ( 'array_merge' , $ arguments ) ; }
Alternative function for array_merge - safe for use with any-type params.
@return array
Alternative function for array_merge - safe for use with any - type params .