Skip to content

Commit

Permalink
fixed bad return type on getAttribute method of TagVoidInterface.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilbourne committed Apr 22, 2024
1 parent e362483 commit e130fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/html/tag/TagVoidInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e130fd2

Please sign in to comment.