diff --git a/src/html/tag/TagInterface.php b/src/html/tag/TagInterface.php index 6debafd..1ef2dc1 100644 --- a/src/html/tag/TagInterface.php +++ b/src/html/tag/TagInterface.php @@ -29,10 +29,10 @@ public function setAllowedSubtags(array $subTagNames): void; public function getAllowedSubTags(): array; /** - * addSubTag + * addSubTagObject * @param TagVoidInterface $tag */ - public function addSubTag(TagVoidInterface $tag): void; + public function addSubTagObject(TagVoidInterface $tag): void; /** * setInnerTextAllowed diff --git a/src/html/tag/TagVoidInterface.php b/src/html/tag/TagVoidInterface.php index 56c68e4..060f802 100644 --- a/src/html/tag/TagVoidInterface.php +++ b/src/html/tag/TagVoidInterface.php @@ -41,11 +41,11 @@ public function setAllowedAttributes(array $allowedAttributes): void; public function getAllowedAttributes(): array; /** - * setAttribute + * setAttributeObject * @param AttributeVoidInterface $attribute * @return TagVoidInterface */ - public function setAttribute(AttributeVoidInterface $attribute): TagVoidInterface; + public function setAttributeObject(AttributeVoidInterface $attribute): TagVoidInterface; /** * getAttribute