Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 5893-5902 (lines=10) @@
5890
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5891
                        continue;
5892
                    }
5893
                    if (!empty($param)) {
5894
                        if (in_array($param, $arrayParams)) {
5895
                            if (!isset($params[$param])) {
5896
                                $params[$param] = array();
5897
                            }
5898
                            $params[$param][] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5899
                        } else {
5900
                            $params[$param] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5901
                        }
5902
                    }
5903
                }
5904
                @fclose($tpl);
5905
            }
@@ 5943-5952 (lines=10) @@
5940
                if ($docblock_end_found) {
5941
                    break;
5942
                }
5943
                if (!empty($param)) {
5944
                    if (in_array($param, $arrayParams)) {
5945
                        if (!isset($params[$param])) {
5946
                            $params[$param] = array();
5947
                        }
5948
                        $params[$param][] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5949
                    } else {
5950
                        $params[$param] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5951
                    }
5952
                }
5953
            }
5954
        }
5955
        return $params;