From 1346a92505d234a1a695c871c3a17913bff927d3 Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 27 Nov 2024 11:43:21 +0000 Subject: [PATCH] Fix errors in libravatar addon --- libravatar/Services/Libravatar.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libravatar/Services/Libravatar.php b/libravatar/Services/Libravatar.php index 18aa5c90..70fcfe39 100644 --- a/libravatar/Services/Libravatar.php +++ b/libravatar/Services/Libravatar.php @@ -217,7 +217,7 @@ class Services_Libravatar * * @param array $options Array of options for getUrl() * - * @return void + * @return array * @throws Exception When an invalid option is used */ protected function checkOptionsArray($options) @@ -462,6 +462,8 @@ class Services_Libravatar return $v['target']; } } + + return ''; } /**