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')) {