Use PHP8 Nullsafe operator

This commit is contained in:
the-djmaze 2026-10-27 20:42:31 +01:00
parent afece6e85c
commit 2d25109aa3

View file

@ -50,8 +50,8 @@ class PECL implements \SnappyMail\PGP\PGPInterface
function __destruct()
{
$this->GnuPG->cleardecryptkeys();
$this->GnuPG->clearsignkeys();
$this->GnuPG?->cleardecryptkeys();
$this->GnuPG?->clearsignkeys();
}
public static function isSupported(): bool