We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6e543 commit cee7e2aCopy full SHA for cee7e2a
src/Form/Settings/TypeSynonymRowType.php
@@ -139,7 +139,7 @@ private function buildLocaleChoices(bool $returnPossible = false): array
139
*/
140
private function getPreferredLocales(): array
141
{
142
- $fromSettings = $this->localizationSettings->languageMenuEntries ?? [];
+ $fromSettings = $this->localizationSettings->languageMenuEntries;
143
return !empty($fromSettings) ? array_values($fromSettings) : array_values($this->preferredLanguagesParam);
144
}
145
0 commit comments