Code Duplication    Length = 13-13 lines in 2 locations

src/Event/ReadModel/JSONLD/CdbXMLImporter.php 1 location

@@ 126-138 (lines=13) @@
123
124
        $this->importOrganizer($event, $organizerManager, $jsonLD);
125
126
        if ($event->getContactInfo()) {
127
            $this->cdbXmlContactInfoImporter->importBookingInfo(
128
                $jsonLD,
129
                $event->getContactInfo(),
130
                $detail->getPrice(),
131
                $event->getBookingPeriod()
132
            );
133
134
            $this->cdbXmlContactInfoImporter->importContactPoint(
135
                $jsonLD,
136
                $event->getContactInfo()
137
            );
138
        }
139
140
        $this->importPriceInfo($detail, $jsonLD);
141

src/Place/ReadModel/JSONLD/CdbXMLImporter.php 1 location

@@ 130-142 (lines=13) @@
127
            }
128
        }
129
130
        if ($item->getContactInfo()) {
131
            $this->cdbXmlContactInfoImporter->importBookingInfo(
132
                $jsonLD,
133
                $item->getContactInfo(),
134
                $detail->getPrice(),
135
                null
136
            );
137
138
            $this->cdbXmlContactInfoImporter->importContactPoint(
139
                $jsonLD,
140
                $item->getContactInfo()
141
            );
142
        }
143
144
        $labelImporter = new LabelImporter();
145
        $labelImporter->importLabels($item, $jsonLD);