mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
PHPDoc fix
Using property instead of method call fix
This commit is contained in:
parent
654bb1a704
commit
7a25abe60a
@ -33,8 +33,8 @@ abstract class SSH2
|
|||||||
* Loads a signature
|
* Loads a signature
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @param array $key
|
* @param array $sig
|
||||||
* @return array
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public static function load($sig)
|
public static function load($sig)
|
||||||
{
|
{
|
||||||
@ -67,9 +67,9 @@ abstract class SSH2
|
|||||||
*/
|
*/
|
||||||
public static function save(BigInteger $r, BigInteger $s)
|
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 false;
|
||||||
}
|
}
|
||||||
return Strings::pack('ss', $r, $s);
|
return Strings::packSSH2('ss', $r, $s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user