Merge branch '3.0'

This commit is contained in:
terrafrost 2022-07-15 15:32:05 -05:00
commit 57031bdf9a

View File

@ -285,10 +285,8 @@ abstract class RSA extends AsymmetricKey
* Create a private key
*
* The public key can be extracted from the private key
*
* @return RSA
*/
public static function createKey(int $bits = 2048)
public static function createKey(int $bits = 2048): PrivateKey
{
self::initialize_static_variables();