Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

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