Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
roboxon committed Oct 30, 2023
1 parent a38c780 commit 73a7b1f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/helper/CryptHelper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace GemLibrary\Helper;

class CryptoHelper {
class CryptHelper {

public static function hashPassword(string $password):string
{
Expand Down
4 changes: 2 additions & 2 deletions src/helper/FileHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function encrypt(): false|string
if (!$fileContents) {
return false;
}
$fileContents = CryptoHelper::encryptString($fileContents, $this->secret);
$fileContents = CryptHelper::encryptString($fileContents, $this->secret);
if (!$fileContents) {
$this->error = "Cannot encrypt file contents" . $this->sourceFile;
return false;
Expand Down Expand Up @@ -119,7 +119,7 @@ public function decrypt(): false|string
if (!$fileContents) {
return false;
}
$fileContents = CryptoHelper::decryptString($fileContents, $this->secret);
$fileContents = CryptHelper::decryptString($fileContents, $this->secret);
if (!$fileContents) {
$this->error = "Cannot decrypt file - Secret is wrong" . $this->sourceFile;
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/helper/NoCors.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* with this source code in the file LICENSE.
*/

namespace GemLibrary\Helper;
namespace GemLibrary\Helper;

class NoCors
{
Expand Down
2 changes: 1 addition & 1 deletion src/helper/WebHelper.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
namespace GemLibrary\Helper;
class WebHelper{
class WebHelper {

/**
* @param string $url
Expand Down

0 comments on commit 73a7b1f

Please sign in to comment.