Code Duplication    Length = 1-1 lines in 2 locations

api/src/Storage/Merge.php 2 locations

@@ 1499-1499 (lines=1) @@
1496
	 */
1497
	private function replace_callback($param)
1498
	{
1499
		if (array_key_exists('$$'.$param[4].'$$',$this->replacements)) $param[4] = $this->replacements['$$'.$param[4].'$$'];
1500
		if (array_key_exists('$$'.$param[3].'$$',$this->replacements)) $param[3] = $this->replacements['$$'.$param[3].'$$'];
1501
1502
		$pattern = '/'.preg_quote($param[2], '/').'/';
@@ 1500-1500 (lines=1) @@
1497
	private function replace_callback($param)
1498
	{
1499
		if (array_key_exists('$$'.$param[4].'$$',$this->replacements)) $param[4] = $this->replacements['$$'.$param[4].'$$'];
1500
		if (array_key_exists('$$'.$param[3].'$$',$this->replacements)) $param[3] = $this->replacements['$$'.$param[3].'$$'];
1501
1502
		$pattern = '/'.preg_quote($param[2], '/').'/';
1503
		if (strpos($param[0],'$$IF') === 0 && (trim($param[2]) == "EMPTY" || $param[2] === ''))