Added again more type-hints

This commit is contained in:
Roland Häder 2022-06-16 20:17:04 +02:00
parent 2766c7d9cf
commit 7560dccc08
2 changed files with 32 additions and 31 deletions

View file

@ -112,7 +112,7 @@ class Directory extends BaseModule
*
* @throws \Exception
*/
public static function formatEntry(array $contact, $photo_size = 'photo')
public static function formatEntry(array $contact, string $photo_size = 'photo'): array
{
$itemurl = (($contact['addr'] != "") ? $contact['addr'] : $contact['url']);