From: Michael Date: Sat, 4 Jan 2020 21:48:26 +0000 (+0000) Subject: Added parameter type X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b08c9692ca6bd12484b0993f701d8a62c854f274;p=friendica.git Added parameter type --- diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 7feb70ba78..6a512323cf 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -1345,7 +1345,7 @@ class Transmitter * * @return string language string */ - private static function getLanguage($item) + private static function getLanguage(array $item) { // Try to fetch the language from the post itself if (!empty($item['language'])) {