From af51441d88ccc31541371ae57618e3b1ff934b1d Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 19 Dec 2024 20:26:38 +0000 Subject: [PATCH] require AppHelper in App --- src/App.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.php b/src/App.php index cd1c1753fc..d0881c5e55 100644 --- a/src/App.php +++ b/src/App.php @@ -142,7 +142,7 @@ class App IHandleUserSessions $session, DbaDefinition $dbaDefinition, ViewDefinition $viewDefinition, - AppHelper $appHelper = null, + AppHelper $appHelper, ) { $this->container = $container; $this->requestId = $request->getRequestId(); @@ -155,7 +155,7 @@ class App $this->l10n = $l10n; $this->args = $args; $this->session = $session; - $this->appHelper = $appHelper ?? DI::appHelper(); + $this->appHelper = $appHelper; $this->load($dbaDefinition, $viewDefinition); }