Code Duplication    Length = 10-10 lines in 2 locations

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

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