From 96484d22a145fdef1d9002dc323f02e3b8ed2135 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 1 Mar 2024 10:08:05 +0100 Subject: Minz remove use of deprecated variable (#6132) and related improvements to clarify inheritance Follow-up of https://github.com/FreshRSS/FreshRSS/pull/6130 --- lib/Minz/ActionController.php | 2 +- lib/Minz/Dispatcher.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Minz/ActionController.php b/lib/Minz/ActionController.php index 65771aa62..809a52337 100644 --- a/lib/Minz/ActionController.php +++ b/lib/Minz/ActionController.php @@ -9,7 +9,7 @@ declare(strict_types=1); /** * The Minz_ActionController class is a controller in the MVC paradigm */ -class Minz_ActionController { +abstract class Minz_ActionController { /** @var array */ private static array $csp_default = [ diff --git a/lib/Minz/Dispatcher.php b/lib/Minz/Dispatcher.php index d5a1d7eb2..c8825df61 100644 --- a/lib/Minz/Dispatcher.php +++ b/lib/Minz/Dispatcher.php @@ -10,7 +10,7 @@ declare(strict_types=1); * The Dispatcher is in charge of initialising the Controller and exectue the action as specified in the Request object. * It is a singleton. */ -class Minz_Dispatcher { +final class Minz_Dispatcher { /** * Singleton -- cgit v1.2.3