diff --git a/src/Lib.php b/src/Lib.php index b46b1ea..96e3e5b 100644 --- a/src/Lib.php +++ b/src/Lib.php @@ -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;