diff --git a/src/Application/UI/Component.php b/src/Application/UI/Component.php index 2023296e9..bd2d69cce 100644 --- a/src/Application/UI/Component.php +++ b/src/Application/UI/Component.php @@ -309,6 +309,7 @@ public function isLinkCurrent(?string $destination = null, $args = []): bool * Redirect to another presenter, action or signal. * @param string $destination in format "[//] [[[module:]presenter:]action | signal! | this] [#fragment]" * @param array|mixed $args + * @return never * @throws Nette\Application\AbortException */ public function redirect(string $destination, $args = []): void @@ -325,6 +326,7 @@ public function redirect(string $destination, $args = []): void * Permanently redirects to presenter, action or signal. * @param string $destination in format "[//] [[[module:]presenter:]action | signal! | this] [#fragment]" * @param array|mixed $args + * @return never * @throws Nette\Application\AbortException */ public function redirectPermanent(string $destination, $args = []): void