Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

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