Adapter/PlentymarketsAdapter/Helper/LanguageHelper.php
public function getLanguagesQueryString()
    {
        $languages = [];

        foreach ($this->getLanguages() as $language) {
            $languageIdentity = $this->identityService->findOneBy([
                'adapterIdentifier' => (string) $language['id'],
                'adapterName' => PlentymarketsAdapter::NAME,
                'objectType' => Language::TYPE,
            ]);

            if ($languageIdentity === null) {
                continue;
            }

            $isMapped = $this->identityService->isMappedIdentity(
                $languageIdentity->getObjectIdentifier(),
                Language::TYPE,
                PlentymarketsAdapter::NAME
            );

            if ($isMapped) {
                $languages[] = $language['id'];
            }
        }

        return implode(',', $languages);
    }
public function getLanguagesQueryString()
    {
        $languages = [];

        foreach ($this->getLanguages() as $language) {
            $languageIdentity = $this->identityService->findOneBy([
                'adapterIdentifier' => (string) $language['id'],
                'adapterName' => PlentymarketsAdapter::NAME,
                'objectType' => Language::TYPE,
            ]);

            if ($languageIdentity === null) {
                continue;
            }

            $isMapped = $this->identityService->isMappedIdentity(
                $languageIdentity->getObjectIdentifier(),
                Language::TYPE,
                PlentymarketsAdapter::NAME
            );

            if ($isMapped) {
                $languages[] = $language['id'];
            }
        }

        return implode(',', $languages);
    }
{@inheritdoc}