From f3e6cd08a0032f338824e67c9d1cac9fdb9fff9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Forg=C3=A1=C4=8D?= Date: Fri, 18 Jul 2025 09:15:13 +0200 Subject: [PATCH] Presenter:$invalidLinkMode is by default null, so PresenterFactoryCallback can set it up [closes #337] --- src/Application/UI/Presenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/UI/Presenter.php b/src/Application/UI/Presenter.php index 952b87e66..6ae2e74f9 100644 --- a/src/Application/UI/Presenter.php +++ b/src/Application/UI/Presenter.php @@ -75,7 +75,7 @@ abstract class Presenter extends Control implements Application\IPresenter /** @deprecated use Presenter::DefaultAction */ public const DEFAULT_ACTION = self::DefaultAction; - public int $invalidLinkMode = 0; + public ?int $invalidLinkMode = null; /** @var array Occurs when the presenter is starting */ public array $onStartup = [];