Code Duplication    Length = 10-10 lines in 2 locations

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

@@ 5806-5815 (lines=10) @@
5803
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5804
                        continue;
5805
                    }
5806
                    if (!empty($param)) {
5807
                        if (in_array($param, $arrayParams)) {
5808
                            if (!isset($params[$param])) {
5809
                                $params[$param] = array();
5810
                            }
5811
                            $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5812
                        } else {
5813
                            $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5814
                        }
5815
                    }
5816
                }
5817
                @fclose($tpl);
5818
            }
@@ 5858-5867 (lines=10) @@
5855
                if ($docblock_end_found) {
5856
                    break;
5857
                }
5858
                if (!empty($param)) {
5859
                    if (in_array($param, $arrayParams)) {
5860
                        if (!isset($params[$param])) {
5861
                            $params[$param] = array();
5862
                        }
5863
                        $params[$param][] = $escapeValues ? $this->db->escape($val) : $val;
5864
                    } else {
5865
                        $params[$param] = $escapeValues ? $this->db->escape($val) : $val;
5866
                    }
5867
                }
5868
            }
5869
        }
5870