X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FContactSelector.php;h=ee6fcfa062736f0f342598914ee480cba7737fe2;hb=a8402109b183e81dad4e5443883dd292df094b86;hp=6c7e09945f9f594ae81b0905a94dceeba7876b42;hpb=4ba28e019926b43b7f7eee59885b4baf9e7173e9;p=friendica.git diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index 6c7e09945f..ee6fcfa062 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -1,6 +1,6 @@ DI::l10n()->t('DFRN'), @@ -179,12 +182,15 @@ class ContactSelector } /** + * Determines network's icon name + * * @param string $network network * @param string $profile optional, default empty - * @return string + * @param int $gsid Server id + * @return string Name for network icon * @throws \Exception */ - public static function networkToIcon($network, $profile = "", $gsid = 0) + public static function networkToIcon(string $network, string $profile = "", int $gsid = null): string { $nets = [ Protocol::DFRN => 'friendica',