Code Duplication    Length = 10-10 lines in 2 locations

manager/includes/src/Core.php 2 locations

@@ 5854-5863 (lines=10) @@
5851
                    if (!$docblock_start_found || !$name_found || !$description_found || empty($param)) {
5852
                        continue;
5853
                    }
5854
                    if (!empty($param)) {
5855
                        if (in_array($param, $arrayParams)) {
5856
                            if (!isset($params[$param])) {
5857
                                $params[$param] = array();
5858
                            }
5859
                            $params[$param][] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5860
                        } else {
5861
                            $params[$param] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5862
                        }
5863
                    }
5864
                }
5865
                @fclose($tpl);
5866
            }
@@ 5904-5913 (lines=10) @@
5901
                if ($docblock_end_found) {
5902
                    break;
5903
                }
5904
                if (!empty($param)) {
5905
                    if (in_array($param, $arrayParams)) {
5906
                        if (!isset($params[$param])) {
5907
                            $params[$param] = array();
5908
                        }
5909
                        $params[$param][] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5910
                    } else {
5911
                        $params[$param] = $escapeValues ? $this->getDatabase()->escape($val) : $val;
5912
                    }
5913
                }
5914
            }
5915
        }
5916
        return $params;