From 3554b615084fd8704ee9b95aa538c47099d5bce5 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 10 May 2023 08:48:21 +0000 Subject: [PATCH] Fix tests --- src/Util/Images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Images.php b/src/Util/Images.php index 90c2aae9db..f468e69c2d 100644 --- a/src/Util/Images.php +++ b/src/Util/Images.php @@ -343,7 +343,7 @@ class Images * @param string $preview Preview image URL * @param string $description * @return string - */ public static function getBBCodeByUrl(string $photo, string $preview = null, string $description = ''): string + */ public static function getBBCodeByUrl(string $photo, string $preview = null, string $description = null): string { if (!empty($preview)) { return '[url=' . $photo . '][img=' . $preview . ']' . $description . '[/img][/url]';