fix tests with 5.6 (#53)

This commit is contained in:
Remi Collet 2025-04-22 15:36:00 +02:00 committed by GitHub
parent 5a8bf5aa93
commit 91e92a2690
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ class gnupgt {
self::reset_key();
$gpg = self::create_instance();
$gpg->import($privkey ?? $testkey);
$gpg->import(is_null($privkey) ? $testkey : $privkey);
}
/**