From b3fd42d076a638d5bbd02a9bdd6cac5091c13a49 Mon Sep 17 00:00:00 2001 From: whwyy Date: Fri, 24 Nov 2023 10:46:45 +0800 Subject: [PATCH] eee --- composer.json | 4 +++- function.php | 17 ----------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index 6fe62fcf..b9d502e4 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,9 @@ "ext-inotify": "*", "game-worker/kiri-pool": "~v1.0", "monolog/monolog": "^2.9", - "psr/container": "^2.0" + "psr/container": "^2.0", + "ext-libsodium": "*", + "swiftmailer/swiftmailer": "^6.3" }, "replace": { "symfony/polyfill-apcu": "*", diff --git a/function.php b/function.php index cd395769..80928fa8 100644 --- a/function.php +++ b/function.php @@ -102,23 +102,6 @@ if (!function_exists('call')) { } - -if (!function_exists('map')) { - - - /** - * @param array $params - * @param Closure $closure - * @return mixed - */ - function map(array $params, Closure $closure): mixed - { - return array_map($closure, $params); - } - -} - - if (!function_exists('checkPortIsAlready')) {