From 2816c14460cdc83519767cfa5c9c7a87c0094f0a Mon Sep 17 00:00:00 2001 From: Ariful Date: Tue, 8 Nov 2022 13:16:11 +0600 Subject: [PATCH] Add Keyword Public in method --- src/Helper.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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-----";