Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/document.parser.class.inc.php 2 locations

@@ 5568-5577 (lines=10) @@
5565
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5566
                        continue;
5567
                    }
5568
                    if (!empty($param)) {
5569
                        if (in_array($param, $arrayParams)) {
5570
                            if (!isset($params[$param])) {
5571
                                $params[$param] = array();
5572
                            }
5573
                            $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5574
                        } else {
5575
                            $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5576
                        }
5577
                    }
5578
                }
5579
                @fclose($tpl);
5580
            }
@@ 5618-5627 (lines=10) @@
5615
                if ($docblock_end_found) {
5616
                    break;
5617
                }
5618
                if (!empty($param)) {
5619
                    if (in_array($param, $arrayParams)) {
5620
                        if (!isset($params[$param])) {
5621
                            $params[$param] = array();
5622
                        }
5623
                        $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5624
                    } else {
5625
                        $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5626
                    }
5627
                }
5628
            }
5629
        }
5630
        return $params;