Skip to content

Commit

Permalink
Update Lib.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dfridrich committed Dec 5, 2022
1 parent b44ad81 commit 6cf1b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ public static function wrapPlainText($input, $rowLength = 50)
/**
* @see https://gist.github.com/gwarnants/2048791?permalink_comment_id=3438918#gistcomment-3438918
*/
private function isBase64Encoded(string $s): bool
public function isBase64Encoded(string $s): bool
{
if ((bool) preg_match('/^[a-zA-Z0-9\/\r\n+]*={0,2}$/', $s) === false) {
return false;
Expand Down

0 comments on commit 6cf1b74

Please sign in to comment.