From fed361c1586e757de03bb9fb831775c789620c95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 2 Feb 2019 03:07:45 +0100 Subject: [PATCH] Continued: - renamed isMapPendingExpansion() to isSectionPendingExpansion() for city section managers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../city/classes/city_daemon/class_BaseCityDaemon.php | 2 +- .../city_entities/sections/class_CitySectionsManager.php | 6 +++--- .../city_entities/sections/class_ManageableCitySections.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/application/city/classes/city_daemon/class_BaseCityDaemon.php b/application/city/classes/city_daemon/class_BaseCityDaemon.php index fc6fa2b..c19270f 100644 --- a/application/city/classes/city_daemon/class_BaseCityDaemon.php +++ b/application/city/classes/city_daemon/class_BaseCityDaemon.php @@ -267,7 +267,7 @@ abstract class BaseCityDaemon extends BaseCitySystem implements Updateable, Adda $sectionsInstance = ManagerFactory::createManagerByType('city_sections'); // Call it's method and return value - return $sectionsInstance->isMapPendingExpansion(); + return $sectionsInstance->isSectionPendingExpansion(); } /** diff --git a/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php b/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php index 2561dc1..9f74e31 100644 --- a/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php +++ b/application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php @@ -60,12 +60,12 @@ class CitySectionsManager extends BaseFrameworkSystem implements ManageableCityS } /** - * Checks whether at least one map requires expansion + * Checks whether at least one city section requires expansion * - * @return $requiresExpansion Whether a map requires expansion + * @return $requiresExpansion Whether a section requires expansion * @todo 0% done */ - public function isMapPendingExpansion () { + public function isSectionPendingExpansion () { // Default is no expansion is needed $requireExpansion = FALSE; diff --git a/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php b/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php index 3b01e69..ad0d70b 100644 --- a/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php +++ b/application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php @@ -29,11 +29,11 @@ use Org\Mxchange\City\Manager\Entities\ManageableCityEntities; */ interface ManageableCitySections extends ManageableCityEntities { /** - * Checks whether at least one map requires expansion + * Checks whether at least one city section requires expansion * - * @return $requiresExpansion Whether a map requires expansion + * @return $requiresExpansion Whether a section requires expansion */ - function isMapPendingExpansion (); + function isSectionPendingExpansion (); /** * Expands any map that requires expansion -- 2.39.5