]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/recipient/upper/class_UpperRecipient.php
Continued with refacturing:
[hub.git] / application / hub / main / recipient / upper / class_UpperRecipient.php
index 33d45ffeab06fa4d066d00bbcf374f795159e9c1..d76fc7a258a209621562bf115ba71ae76df068f3 100644 (file)
@@ -61,7 +61,7 @@ class UpperRecipient extends BaseRecipient implements Recipient {
                assert($recipient == NetworkPackage::NETWORK_TARGET_UPPER);
 
                // Get all bootstrap nodes
-               foreach (explode(BaseHubSystem::BOOTSTRAP_NODES_SEPARATOR, $this->getConfigInstance()->getConfigEntry('hub_bootstrap_nodes')) as $unlArray) {
+               foreach (explode(BaseHubSystem::BOOTSTRAP_NODES_SEPARATOR, $this->getConfigInstance()->getConfigEntry('hub_bootstrap_nodes')) as $unlData) {
                        // Is maximum reached?
                        if ($listInstance->count() == $this->getConfigInstance()->getConfigEntry('package_recipient_max_count')) {
                                // Debug message
@@ -72,10 +72,10 @@ class UpperRecipient extends BaseRecipient implements Recipient {
                        } // END - if
 
                        // Debug message
-                       /* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('RECIPIENT-RESOLVER: Adding node ' . print_r($unlArray, TRUE) . ' as recipient.');
+                       /* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('RECIPIENT-RESOLVER: Adding node ' . print_r($unlData, TRUE) . ' as recipient.');
 
                        // Add the entry
-                       $listInstance->addEntry('unl', $unlArray);
+                       $listInstance->addEntry('unl', $unlData);
                } // END - foreach
        }
 }