Added parameter type
authorMichael <heluecht@pirati.ca>
Sat, 4 Jan 2020 21:48:26 +0000 (21:48 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 4 Jan 2020 21:48:26 +0000 (21:48 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 7feb70ba78d85f82709447e40937508d9eb6d40c..6a512323cf517656751a10dc440df4f9cb9d48fc 100644 (file)
@@ -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'])) {