]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/pools/class_BasePool.php
Renamed it as this class can be anything that implements Visitable
[hub.git] / application / hub / main / pools / class_BasePool.php
index c65f8266b65d1fbcd11e9a69674b0bf782ee74a2..025385875820a290f21e8328bf615da8496ee8e6 100644 (file)
@@ -71,12 +71,12 @@ class BasePool extends BaseHubSystem implements Visitable {
        /**
         * Adds an instance to a pool segment
         *
-        * @param       $group                  Name of the pool group
-        * @param       $poolSegment    Name of the pool segment
-        * @param       $instance               An instance of a class that should bed added to the pool
+        * @param       $group                          Name of the pool group
+        * @param       $poolSegment            Name of the pool segment
+        * @param       $visitableInstance      An instance of a class that should bed added to the pool
         * @return      void
         */
-       protected final function addInstance ($group, $poolName, Visitable $instance) {
+       protected final function addInstance ($group, $poolName, Visitable $visitableInstance) {
                // Is the pool group there?
                if (!$this->getPoolEntriesInstance()->isGroupSet($group)) {
                        // Create the missing pool group
@@ -84,7 +84,7 @@ class BasePool extends BaseHubSystem implements Visitable {
                } // END - if
 
                // Add it to given pool group
-               $this->getPoolEntriesInstance()->addInstance($group, $poolName, $instance);
+               $this->getPoolEntriesInstance()->addInstance($group, $poolName, $visitableInstance);
        }
 
        /**