Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 5865-5874 (lines=10) @@
5862
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5863
                        continue;
5864
                    }
5865
                    if (!empty($param)) {
5866
                        if (in_array($param, $arrayParams)) {
5867
                            if (!isset($params[$param])) {
5868
                                $params[$param] = array();
5869
                            }
5870
                            $params[$param][] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5871
                        } else {
5872
                            $params[$param] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5873
                        }
5874
                    }
5875
                }
5876
                @fclose($tpl);
5877
            }
@@ 5915-5924 (lines=10) @@
5912
                if ($docblock_end_found) {
5913
                    break;
5914
                }
5915
                if (!empty($param)) {
5916
                    if (in_array($param, $arrayParams)) {
5917
                        if (!isset($params[$param])) {
5918
                            $params[$param] = array();
5919
                        }
5920
                        $params[$param][] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5921
                    } else {
5922
                        $params[$param] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5923
                    }
5924
                }
5925
            }
5926
        }
5927
        return $params;