From 0be984fd805d8c117612ceae039a343c6e813c16 Mon Sep 17 00:00:00 2001 From: Bastien Miclo Date: Wed, 6 Jan 2021 23:57:47 +0100 Subject: [PATCH] Fix encodeDER() PHPDoc --- phpseclib/File/ASN1.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/File/ASN1.php b/phpseclib/File/ASN1.php index cd4247c1..3055a495 100644 --- a/phpseclib/File/ASN1.php +++ b/phpseclib/File/ASN1.php @@ -826,7 +826,7 @@ abstract class ASN1 * * "Special" mappings can be applied via $special. * - * @param string $source + * @param Element|string|array $source * @param array $mapping * @param array $special * @return string @@ -841,7 +841,7 @@ abstract class ASN1 /** * ASN.1 Encode (Helper function) * - * @param string $source + * @param Element|string|array $source * @param array $mapping * @param int $idx * @param array $special