From a8f0961f4ecd7f5c7689be467f1f4ee5d1c96e8f Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Thu, 14 Apr 2022 21:15:38 -0300 Subject: [PATCH] Private methods cannot be final as they are never overridden by other classes --- system/engine/abstracthelper.php | 2 +- system/engine/controller.php | 2 +- system/engine/model.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/engine/abstracthelper.php b/system/engine/abstracthelper.php index 0bb88dc..4803943 100644 --- a/system/engine/abstracthelper.php +++ b/system/engine/abstracthelper.php @@ -32,7 +32,7 @@ abstract class AbstractHelper { } /** @return void */ - final private function __getRegistryClass() + private function __getRegistryClass() { $this->registry = \Phacil\Framework\startEngineExacTI::getRegistry(); } diff --git a/system/engine/controller.php b/system/engine/controller.php index 77d8f62..18fd596 100644 --- a/system/engine/controller.php +++ b/system/engine/controller.php @@ -139,7 +139,7 @@ abstract class Controller { } /** @return void */ - final private function __getRegistryClass(){ + private function __getRegistryClass(){ $this->registry = \Phacil\Framework\startEngineExacTI::getRegistry(); } diff --git a/system/engine/model.php b/system/engine/model.php index 4707b2e..d11f8d6 100644 --- a/system/engine/model.php +++ b/system/engine/model.php @@ -34,7 +34,7 @@ abstract class Model { } /** @return void */ - final private function __getRegistryClass() + private function __getRegistryClass() { $this->registry = \Phacil\Framework\startEngineExacTI::getRegistry(); }