Rename DOM handling methods toDOM/fromDOM to reflect reality

* For extensions, the fromHTML --> fromDOM renaming mirrors the
  toDOM extension method.

Change-Id: Ic361bd0b5a8849c3033f55cfcae6e1cb36f68a10
This commit is contained in:
Subramanya Sastry 2020-01-16 20:25:36 +05:30
parent a8a6951f9c
commit ddbca68066
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ class Ref extends ExtensionTag {
}
/** @inheritDoc */
public function fromHTML(
public function fromDOM(
DOMElement $node, SerializerState $state, bool $wrapperUnmodified
): string {
$startTagSrc = $state->serializer->serializeExtensionStartTag( $node, $state );

View file

@ -561,7 +561,7 @@ class References extends ExtensionTag {
}
/** @inheritDoc */
public function fromHTML(
public function fromDOM(
DOMElement $node, SerializerState $state, bool $wrapperUnmodified
): string {
$dataMw = DOMDataUtils::getDataMw( $node );