Code Duplication    Length = 3-3 lines in 2 locations

core/src/Core.php 2 locations

@@ 2196-2198 (lines=3) @@
2193
    private function _split_snip_call($call)
2194
    {
2195
        $spacer = md5('dummy');
2196
        if (strpos($call, ']]>') !== false) {
2197
            $call = str_replace(']]>', "]{$spacer}]>", $call);
2198
        }
2199
2200
        $splitPosition = $this->_getSplitPosition($call);
2201
@@ 2211-2213 (lines=3) @@
2208
        }
2209
2210
        $snip['name'] = trim($name);
2211
        if (strpos($params, $spacer) !== false) {
2212
            $params = str_replace("]{$spacer}]>", ']]>', $params);
2213
        }
2214
        $snip['params'] = ltrim($params, "?& \t\n");
2215
2216
        return $snip;