Skip to content

Commit

Permalink
Presenter::handleInvalidLink() -> processInvalidLink()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 12, 2024
1 parent 3dc5d31 commit b59fbe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Application/UI/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function link(string $destination, $args = []): string
return $this->getPresenter()->getLinkGenerator()->link($destination, $args, $this, 'link');

} catch (InvalidLinkException $e) {
return $this->getPresenter()->handleInvalidLink($e);
return $this->getPresenter()->processInvalidLink($e);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Application/UI/Presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ protected function requestToUrl(Application\Request $request, ?bool $relative =
* Invalid link handler. Descendant can override this method to change default behaviour.
* @throws InvalidLinkException
*/
protected function handleInvalidLink(InvalidLinkException $e): string
protected function processInvalidLink(InvalidLinkException $e): string
{
if ($this->invalidLinkMode & self::InvalidLinkException) {
throw $e;
Expand Down

0 comments on commit b59fbe4

Please sign in to comment.