From 714d69c18a2b5a356a375c423ef8675579a35422 Mon Sep 17 00:00:00 2001 From: Sergii Dolgushev Date: Tue, 8 Jul 2025 20:37:31 +0100 Subject: [PATCH] Fix PHP 8.4 deprecation --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 38dcb91..4e13e01 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, ?array $options = null) { SerializableClosure::enterContext(); $data = ($options === null || \PHP_MAJOR_VERSION < 7)