From: Michael Date: Sun, 16 Jul 2023 09:48:37 +0000 (+0000) Subject: Revert change X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7315048474665d00003406860c608695c4a3684f;p=friendica.git Revert change --- diff --git a/src/Model/Event.php b/src/Model/Event.php index 5aa2f2488f..8221fa82b7 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -978,7 +978,7 @@ class Event * Note: The string must only contain location data. A string with no bbcode will be * handled as location name. * - * @param string $s The string with the bbcode formatted location data. + * @param string $s The string with the bbcode formatted location data. * * @return array The array with the location data. * 'name' => The name of the location,
@@ -986,7 +986,7 @@ class Event * 'coordinates' => Latitude and longitude (e.g. '48.864716,2.349014').
* @throws \Friendica\Network\HTTPException\InternalServerErrorException */ - private static function locationToArray(string $s): array + private static function locationToArray(string $s = ''): array { if ($s == '') { return [];