This commit is contained in:
2020-09-02 20:07:02 +08:00
parent 046ce49386
commit f8e2492f44
3 changed files with 122 additions and 0 deletions
+17
View File
@@ -5,6 +5,7 @@ defined('APP_PATH') or define('APP_PATH', __DIR__ . '/../../');
use HttpServer\Http\Response;
use Snowflake\Snowflake;
use HttpServer\Http\Context;
use Snowflake\Core\ArrayAccess;
if (!function_exists('make')) {
@@ -282,3 +283,19 @@ if (!function_exists('sweep')) {
}
}
if (!function_exists('merge')) {
/**
* @param $param
* @param $param1
* @return array
*/
function merge($param, $param1)
{
return ArrayAccess::merge($param, $param1);
}
}