Code Duplication    Length = 13-13 lines in 2 locations

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);

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

@@ 117-129 (lines=13) @@
114
115
        $this->importOrganizer($event, $organizerManager, $jsonLD);
116
117
        if ($event->getContactInfo()) {
118
            $this->cdbXmlContactInfoImporter->importBookingInfo(
119
                $jsonLD,
120
                $event->getContactInfo(),
121
                $detail->getPrice(),
122
                $event->getBookingPeriod()
123
            );
124
125
            $this->cdbXmlContactInfoImporter->importContactPoint(
126
                $jsonLD,
127
                $event->getContactInfo()
128
            );
129
        }
130
131
        $this->cdbXMLItemBaseImporter->importPriceInfo($details, $jsonLD);
132