Code Duplication    Length = 3-3 lines in 2 locations

app/Models/ProjectModel.php 2 locations

@@ 427-429 (lines=3) @@
424
            $values['identifier'] = strtoupper($values['identifier']);
425
        }
426
427
        if (!empty($values['start_date'])) {
428
            $values['start_date'] = $this->dateParser->getIsoDate($values['start_date']);
429
        }
430
431
        if (!empty($values['end_date'])) {
432
            $values['end_date'] = $this->dateParser->getIsoDate($values['end_date']);
@@ 431-433 (lines=3) @@
428
            $values['start_date'] = $this->dateParser->getIsoDate($values['start_date']);
429
        }
430
431
        if (!empty($values['end_date'])) {
432
            $values['end_date'] = $this->dateParser->getIsoDate($values['end_date']);
433
        }
434
435
        $this->helper->model->convertIntegerFields($values, ['priority_default', 'priority_start', 'priority_end']);
436