From eaf0b9ebd96322e56e66a48a3077a20ad75f4862 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Tue, 24 Dec 2024 18:04:10 +0000 Subject: [PATCH] Fix PHP 8.4 deprecations --- src/Encrypt.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Encrypt.php b/src/Encrypt.php index 484d6ae..05b6501 100644 --- a/src/Encrypt.php +++ b/src/Encrypt.php @@ -94,7 +94,7 @@ public function __construct( ], string $user_pass = '', string $owner_pass = '', - array $pubkeys = null + array|null $pubkeys = null ) { if (! $enabled) { return; @@ -257,7 +257,7 @@ public function escapeDataString( * @return string escaped date string. */ public function getFormattedDate( - int $time = null, + int|null $time = null, int $objnum = 0, ): string { if ($time === null) {