From: Roland Häder Date: Sat, 8 Mar 2008 12:51:39 +0000 (+0000) Subject: getter, setter are all final; several code clean-ups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a7401725dcb08ca2a0da6f7a2f95fecc68adef5;p=hub.git getter, setter are all final; several code clean-ups --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index dcc867b1b..c1147db38 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -723,7 +723,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { * @throws InvalidArrayCountException If the array contains less or * more than two elements */ - public function getPathFileNameFromObject () { + public final function getPathFileNameFromObject () { // Get the main object's unique ID. We use this as a path/filename combination $pathFile = $this->getUniqueID(); diff --git a/inc/classes/main/database/classes/class_LocalFileDatabase.php b/inc/classes/main/database/classes/class_LocalFileDatabase.php index 55875a6de..231dfee21 100644 --- a/inc/classes/main/database/classes/class_LocalFileDatabase.php +++ b/inc/classes/main/database/classes/class_LocalFileDatabase.php @@ -404,7 +404,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend * @throws MissingMethodException If the required method * toString() is missing */ - public function getObjectFromCachedData ($uniqueID) { + public final function getObjectFromCachedData ($uniqueID) { // Get instance for file handler $inputHandler = $this->getIOInstance();