From b08c9692ca6bd12484b0993f701d8a62c854f274 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 4 Jan 2020 21:48:26 +0000 Subject: [PATCH] Added parameter type --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 7feb70ba7..6a512323c 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'])) {