From 992b6eed1d8bc0201ece8b9043ee70d76bc68a3e Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 10 May 2023 16:57:08 +0000 Subject: [PATCH] Fixed test - again --- 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 05b3573dd2..269dbda199 100644 --- a/src/Util/Images.php +++ b/src/Util/Images.php @@ -344,7 +344,7 @@ class Images * @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]'; -- 2.39.5