Code Duplication    Length = 3-3 lines in 2 locations

src/Hook/BasicProperties.php 2 locations

@@ 78-80 (lines=3) @@
75
	}
76
77
	private function replaceContent($element, $content) {
78
		if (!$this->appendToIfNode($element, $content, $element->parentNode)) {
79
			$element->parentNode->appendChild($element->ownerDocument->createElement('span', implode('', $content)));
80
		}		
81
		$element->setAttribute('transphporm', 'remove');
82
	}
83
@@ 85-87 (lines=3) @@
82
	}
83
84
	private function appendContent($element, $content) {
85
		if (!$this->appendToIfNode($element, $content, $element)) {
86
			$element->appendChild($element->ownerDocument->createTextNode(implode('', $content)));
87
		}
88
	}
89
90
	private function removeAllChildren($element) {