From 7de6cf61c8c182de769e6a9ed5e87185a85f2967 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Thu, 14 Mar 2024 12:52:51 +0300 Subject: [PATCH] Making func signatures PHP8.3 compatible --- config.inc.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/config.inc.php b/config.inc.php index 0865cf9..2e219b2 100644 --- a/config.inc.php +++ b/config.inc.php @@ -143,11 +143,7 @@ function config_pack_bundle( return $packed_data; } -function _config_pack_bundle_fmt1( - array $cache_entries, - bool $use_lz4 = false, - bool $use_config_refs = false, - int $version) : string +function _config_pack_bundle_fmt1(array $cache_entries, bool $use_lz4, bool $use_config_refs, int $version) : string { $MAP = array(); $STRIDMAP = array(); @@ -199,11 +195,7 @@ function _config_pack_bundle_fmt1( return $packed_data; } -function _config_pack_bundle_fmt2( - array $cache_entries, - bool $use_lz4 = false, - bool $use_config_refs = false, - int $version) : string +function _config_pack_bundle_fmt2(array $cache_entries, bool $use_lz4, bool $use_config_refs, int $version) : string { $MAP = array(); $STRIDMAP = array();