Code Duplication    Length = 10-10 lines in 2 locations

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

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