]> git.mxchange.org Git - city.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 2 Feb 2019 02:07:45 +0000 (03:07 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 2 Feb 2019 02:07:45 +0000 (03:07 +0100)
- renamed isMapPendingExpansion() to isSectionPendingExpansion() for city
  section managers

Signed-off-by: Roland Häder <roland@mxchange.org>
application/city/classes/city_daemon/class_BaseCityDaemon.php
application/city/classes/manager/city_entities/sections/class_CitySectionsManager.php
application/city/interfaces/manager/city_entities/sections/class_ManageableCitySections.php

index fc6fa2b45058a034140e028876a7d6ea44c146ca..c19270f3c2ae5fd5b9ffbcadc5924274462c1476 100644 (file)
@@ -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();
        }
 
        /**
index 2561dc15da579c48118a932166062bc0a990b5b2..9f74e31cda83b1ce2463a9afdf437e91a0dc84db 100644 (file)
@@ -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;
 
index 3b01e69b056b55f9cf85b776c8b518e664e81a7f..ad0d70bd0d9657dc1d5a203a525a521ad27d30fe 100644 (file)
@@ -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