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

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