Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 5599-5608 (lines=10) @@
5596
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5597
                        continue;
5598
                    }
5599
                    if (!empty($param)) {
5600
                        if (in_array($param, $arrayParams)) {
5601
                            if (!isset($params[$param])) {
5602
                                $params[$param] = array();
5603
                            }
5604
                            $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5605
                        } else {
5606
                            $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5607
                        }
5608
                    }
5609
                }
5610
                @fclose($tpl);
5611
            }
@@ 5649-5658 (lines=10) @@
5646
                if ($docblock_end_found) {
5647
                    break;
5648
                }
5649
                if (!empty($param)) {
5650
                    if (in_array($param, $arrayParams)) {
5651
                        if (!isset($params[$param])) {
5652
                            $params[$param] = array();
5653
                        }
5654
                        $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5655
                    } else {
5656
                        $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5657
                    }
5658
                }
5659
            }
5660
        }
5661
        return $params;