]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix errors in libravatar addon
authorArt4 <art4@wlabs.de>
Wed, 27 Nov 2024 11:43:21 +0000 (11:43 +0000)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 1 Dec 2024 02:20:18 +0000 (03:20 +0100)
libravatar/Services/Libravatar.php

index 18aa5c90284c50b5a011c37c55b03836c5dbf29a..70fcfe39f8c8d59dc74b9f4ae078df9d2e84a636 100644 (file)
@@ -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 '';
     }
 
     /**