Skip to content

Commit

Permalink
Update Lib.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dfridrich authored Dec 5, 2022
1 parent 6cf1b74 commit c5bd0d3
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
*/
public function isBase64Encoded(string $s): bool
public static 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 c5bd0d3

Please sign in to comment.