Code Duplication    Length = 3-3 lines in 2 locations

src/Entity/InstantWin.php 2 locations

@@ 248-250 (lines=3) @@
245
            $this->scheduleOccurrenceAuto = $data['scheduleOccurrenceAuto'];
246
        }
247
248
        if (isset($data['occurrenceNumber']) && $data['occurrenceNumber'] !== null) {
249
            $this->occurrenceNumber = $data['occurrenceNumber'];
250
        }
251
252
        if (isset($data['winningOccurrenceNumber']) && $data['winningOccurrenceNumber'] !== null) {
253
            $this->occurrenceNumber = $data['winningOccurrenceNumber'];
@@ 252-254 (lines=3) @@
249
            $this->occurrenceNumber = $data['occurrenceNumber'];
250
        }
251
252
        if (isset($data['winningOccurrenceNumber']) && $data['winningOccurrenceNumber'] !== null) {
253
            $this->occurrenceNumber = $data['winningOccurrenceNumber'];
254
        }
255
256
        if (isset($data['occurrenceType']) && $data['occurrenceType'] !== null) {
257
            $this->occurrenceType = $data['occurrenceType'];