Update LanguageSwitcherEnhancedBlock.php to account for different possible...
requested to merge issue/language_switcher_enhanced-3348455:3348455-typeerror-propertyexists-argument into 2.x
Update LanguageSwitcherEnhancedBlock.php to account for different possible outcomes of language switch links + avoid use of tag
Closes #3348455