From e130fd2831a31c95729d689ca38efcd947e26478 Mon Sep 17 00:00:00 2001 From: Doug Wilbourne Date: Mon, 22 Apr 2024 17:51:02 -0400 Subject: [PATCH] fixed bad return type on getAttribute method of TagVoidInterface.php --- src/html/tag/TagVoidInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/html/tag/TagVoidInterface.php b/src/html/tag/TagVoidInterface.php index d10cb5c..86e86ea 100644 --- a/src/html/tag/TagVoidInterface.php +++ b/src/html/tag/TagVoidInterface.php @@ -56,9 +56,9 @@ public function setEvent(string $eventName, string $script): void; /** * getAttribute * @param string $name - * @return string|null + * @return AttributeInterface|null */ - public function getAttribute(string $name): ?string; + public function getAttribute(string $name): ?AttributeInterface; /** * getAttributes