Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 5594-5603 (lines=10) @@
5591
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5592
                        continue;
5593
                    }
5594
                    if (!empty($param)) {
5595
                        if (in_array($param, $arrayParams)) {
5596
                            if (!isset($params[$param])) {
5597
                                $params[$param] = array();
5598
                            }
5599
                            $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5600
                        } else {
5601
                            $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5602
                        }
5603
                    }
5604
                }
5605
                @fclose($tpl);
5606
            }
@@ 5644-5653 (lines=10) @@
5641
                if ($docblock_end_found) {
5642
                    break;
5643
                }
5644
                if (!empty($param)) {
5645
                    if (in_array($param, $arrayParams)) {
5646
                        if (!isset($params[$param])) {
5647
                            $params[$param] = array();
5648
                        }
5649
                        $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5650
                    } else {
5651
                        $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5652
                    }
5653
                }
5654
            }
5655
        }
5656
        return $params;