Fixed some RSA docblock types.

This commit is contained in:
Bilge 2018-04-25 21:18:51 +01:00
parent 7053f06f91
commit 8c299f865f
No known key found for this signature in database
GPG Key ID: 92C57FE082D9A758

View File

@ -1020,9 +1020,9 @@ class RSA
* @access private
* @see self::_convertPublicKey()
* @see self::_convertPrivateKey()
* @param string $key
* @param string|array $key
* @param int $type
* @return array
* @return array|bool
*/
function _parseKey($key, $type)
{
@ -1505,8 +1505,9 @@ class RSA
* Returns true on success and false on failure (ie. an incorrect password was provided or the key was malformed)
*
* @access public
* @param string $key
* @param int $type optional
* @param string|RSA|array $key
* @param bool $type optional
* @return bool
*/
function loadKey($key, $type = false)
{