Skip to content

Commit

Permalink
Fix PHP 8.4 deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Dec 24, 2024
1 parent 814def7 commit eaf0b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Encrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function __construct(
],
string $user_pass = '',
string $owner_pass = '',
array $pubkeys = null
array|null $pubkeys = null
) {
if (! $enabled) {
return;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit eaf0b9e

Please sign in to comment.