diff --git a/src/Helper.php b/src/Helper.php index 730160e..fbd17bb 100644 --- a/src/Helper.php +++ b/src/Helper.php @@ -21,8 +21,6 @@ class Helper extends Key { - - /** * Helper constructor. * @param $config @@ -30,7 +28,6 @@ class Helper extends Key */ public function __construct($config) { - parent::__construct($config); } @@ -67,7 +64,7 @@ public static function generateRandomString(int $length = 40, string $prefix = ' * @throws ExceptionHandler * @since v1.3.1 */ - function EncryptDataWithPublicKey($data) + public function EncryptDataWithPublicKey($data) { $publicKey = "-----BEGIN PUBLIC KEY-----\n" . $this->getPgPublicKey() . "\n-----END PUBLIC KEY-----";