From 786a090daf7c1290e9ab1fe19a8b91e7e22a9085 Mon Sep 17 00:00:00 2001 From: Sergii Dolgushev Date: Tue, 8 Jul 2025 21:26:54 +0100 Subject: [PATCH] Make PHP 5.6 hapy with latest 8.4 changes --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 4e13e01..b31c97d 100644 --- a/functions.php +++ b/functions.php @@ -29,7 +29,7 @@ function serialize($data) * @param array|null $options * @return mixed */ -function unserialize($data, ?array $options = null) +function unserialize($data, $options = null) { SerializableClosure::enterContext(); $data = ($options === null || \PHP_MAJOR_VERSION < 7)