mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
Added again more type-hints
This commit is contained in:
parent
2766c7d9cf
commit
7560dccc08
2 changed files with 32 additions and 31 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue