diff --git a/phpseclib/Crypt/Common/AsymmetricKey.php b/phpseclib/Crypt/Common/AsymmetricKey.php index c9168236..6472032e 100644 --- a/phpseclib/Crypt/Common/AsymmetricKey.php +++ b/phpseclib/Crypt/Common/AsymmetricKey.php @@ -92,7 +92,7 @@ abstract class AsymmetricKey */ private $comment; - abstract public function toString(string $type, array $options = []): string; + abstract public function toString(string $type, array $options = []): array|string; /** * The constructor