Added parameter type

This commit is contained in:
Michael 2020-01-04 21:48:26 +00:00
parent 7cf27e9cb0
commit b08c9692ca

View file

@ -1345,7 +1345,7 @@ class Transmitter
* *
* @return string language string * @return string language string
*/ */
private static function getLanguage($item) private static function getLanguage(array $item)
{ {
// Try to fetch the language from the post itself // Try to fetch the language from the post itself
if (!empty($item['language'])) { if (!empty($item['language'])) {