diff --git a/phpseclib/Crypt/DSA.php b/phpseclib/Crypt/DSA.php index 9cbee43e..19b0bae2 100644 --- a/phpseclib/Crypt/DSA.php +++ b/phpseclib/Crypt/DSA.php @@ -109,7 +109,7 @@ class DSA extends AsymmetricKey * @access public * @param int $L * @param int $N - * @return \phpseclib\Crypt\DSA + * @return \phpseclib\Crypt\DSA|bool */ static function createParameters($L = 2048, $N = 224) { @@ -183,7 +183,7 @@ class DSA extends AsymmetricKey * - 'publickey': The public key. * * @access public - * @return \phpseclib\Crypt\DSA + * @return array|DSA */ static function createKey() { diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php index e5af7b48..2b4f7b83 100644 --- a/phpseclib/Crypt/Hash.php +++ b/phpseclib/Crypt/Hash.php @@ -134,7 +134,7 @@ class Hash * Keys can be of any length. * * @access public - * @param string $key + * @param string|bool $key */ public function setKey($key = false) {