Skip to content

Commit

Permalink
Add Keyword Public in method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariful committed Nov 8, 2022
1 parent 19ac2df commit 2816c14
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@

class Helper extends Key
{


/**
* Helper constructor.
* @param $config
* @since v1.3.1
*/
public function __construct($config)
{

parent::__construct($config);
}

Expand Down Expand Up @@ -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-----";
Expand Down

0 comments on commit 2816c14

Please sign in to comment.