From 7a25abe60a75534296a7cf6b1164157b31259e9d Mon Sep 17 00:00:00 2001 From: Sokolovskyy Roman Date: Thu, 20 Jul 2017 11:08:03 +0200 Subject: [PATCH] PHPDoc fix Using property instead of method call fix --- phpseclib/Crypt/DSA/Signature/SSH2.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpseclib/Crypt/DSA/Signature/SSH2.php b/phpseclib/Crypt/DSA/Signature/SSH2.php index 0e781b35..ad78c447 100644 --- a/phpseclib/Crypt/DSA/Signature/SSH2.php +++ b/phpseclib/Crypt/DSA/Signature/SSH2.php @@ -33,8 +33,8 @@ abstract class SSH2 * Loads a signature * * @access public - * @param array $key - * @return array + * @param array $sig + * @return mixed */ public static function load($sig) { @@ -67,9 +67,9 @@ abstract class SSH2 */ public static function save(BigInteger $r, BigInteger $s) { - if ($r->getLength() != 160 || $s->getLength != 160) { + if ($r->getLength() != 160 || $s->getLength() != 160) { return false; } - return Strings::pack('ss', $r, $s); + return Strings::packSSH2('ss', $r, $s); } }