X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FContactSelector.php;h=ee6fcfa062736f0f342598914ee480cba7737fe2;hb=1087e36a63cdb2e830d3d368f98042ab64e7b4ed;hp=6c7e09945f9f594ae81b0905a94dceeba7876b42;hpb=37405567c1a71a805b722ae56604be7ee89251ab;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',