fix: collect hotel codes from every CRM selection group

This commit is contained in:
Björn Fromme committed 2026-08-12 17:46:33 +02:00
1 parent 70a10c4dba
commit 6af8044f7c
2 files changed
+42 -2

No files matched your search

@@ -29,7 +29,7 @@ class CrmAttributesResponseParser
$result
->filterXPath('//selektionsmerkmale/selektionsgruppe')
->each(function (Crawler $node) use (&$groups, &$roles) {
->each(function (Crawler $node) use (&$groups, &$roles, &$hotelCodes) {
$group = new CrmSelectionGroup();
$group->id = (int) $node->attr('id');
$group->label = $node->attr('bezeichnung');