Skip to content

Commit

Permalink
Add missing return types
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Apr 28, 2023
1 parent 321d4f7 commit 2611ec9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AbstractUriElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ protected function canonicalizePath(string $path): string
*
* @param \DOMElement $node A \DOMElement instance
*
* @return void
*
* @throws \LogicException If given node is not an anchor
*/
abstract protected function setNode(\DOMElement $node);
Expand Down
2 changes: 2 additions & 0 deletions Field/FormField.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ public function isDisabled(): bool

/**
* Initializes the form field.
*
* @return void
*/
abstract protected function initialize();
}

0 comments on commit 2611ec9

Please sign in to comment.