mirror of
https://github.com/friendica/friendica
synced 2025-05-09 01:04:13 +02:00
Changes:
- added some missing type-hints - no need for local array `$t` (changed to "anonymous" varriant) - formatted some arrays
This commit is contained in:
parent
05b15f2824
commit
bf9f09182e
7 changed files with 35 additions and 30 deletions
|
@ -44,7 +44,7 @@ class VCard
|
|||
* @template widget/vcard.tpl
|
||||
* @return string
|
||||
*/
|
||||
public static function getHTML(array $contact)
|
||||
public static function getHTML(array $contact): string
|
||||
{
|
||||
if (!isset($contact['network']) || !isset($contact['id'])) {
|
||||
Logger::warning('Incomplete contact', ['contact' => $contact ?? [], 'callstack' => System::callstack(20)]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue