Code Duplication    Length = 13-13 lines in 2 locations

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

@@ 157-169 (lines=13) @@
154
155
        $this->importOrganizer($event, $organizerManager, $jsonLD);
156
157
        if ($event->getContactInfo()) {
158
            $this->cdbXmlContactInfoImporter->importBookingInfo(
159
                $jsonLD,
160
                $event->getContactInfo(),
161
                $detail->getPrice(),
162
                $event->getBookingPeriod()
163
            );
164
165
            $this->cdbXmlContactInfoImporter->importContactPoint(
166
                $jsonLD,
167
                $event->getContactInfo()
168
            );
169
        }
170
171
        $this->importPriceInfo($detail, $jsonLD);
172

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

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