diff options
| author | 2024-03-01 10:08:05 +0100 | |
|---|---|---|
| committer | 2024-03-01 10:08:05 +0100 | |
| commit | 96484d22a145fdef1d9002dc323f02e3b8ed2135 (patch) | |
| tree | 0145aad050e55374ed0beae0edbc7556c0def7dd /lib | |
| parent | 4b29e666b06762b4b36438c9370c38bc43121f78 (diff) | |
Minz remove use of deprecated variable (#6132)
and related improvements to clarify inheritance
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/6130
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/ActionController.php | 2 | ||||
| -rw-r--r-- | lib/Minz/Dispatcher.php | 2 |
2 files changed, 2 insertions, 2 deletions
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<string,string> */ 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 |
