Fix return type comment on Crypt/RSA::createKey()

Function returns a Crypt/RSA/PrivateKey and updating
the PHPDoc for it will help with static analysis.
This commit is contained in:
Anthony Ryan 2022-07-12 15:17:16 -04:00 committed by terrafrost
parent c73b9f0884
commit dd9146e259

View File

@ -290,7 +290,7 @@ abstract class RSA extends AsymmetricKey
*
* The public key can be extracted from the private key
*
* @return RSA
* @return RSA\PrivateKey
* @param int $bits
*/
public static function createKey($bits = 2048)