]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 13 Dec 2021 17:50:10 +0000 (18:50 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 13 Dec 2021 17:50:10 +0000 (18:50 +0100)
- renamed methods to make them more clear
- updated 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/iterator/network/class_NetworkListenIterator.php
application/hub/classes/iterator/pool/handler/class_HandlerPoolIterator.php
application/hub/classes/iterator/pool/monitor/class_MonitorPoolIterator.php
application/hub/classes/iterator/pool/shutdown/class_ShutdownPoolIterator.php
application/hub/classes/iterator/pool/tasks/class_TaskPoolIterator.php
core

index 9a13d34333cb87eafa30877139f71742ce42082d..00125fbef47b908457290f30be6c83f08a711f03 100644 (file)
@@ -83,7 +83,7 @@ class NetworkListenIterator extends BaseIterator implements Iterator {
                }
 
                // Now get the entry
-               $current = $this->getListInstance()->getEntry($this->key());
+               $current = $this->getListInstance()->getEntryByIndex($this->key());
 
                // Return it
                return $current;
index 7220db2a957b16b36eaae6d71a41eda2cb411ccc..2a68fc7b00165e511283db414809aed71dd06337 100644 (file)
@@ -83,7 +83,7 @@ class HandlerPoolIterator extends BaseIterator implements Iterator {
                }
 
                // Now get the entry
-               $current = $this->getListInstance()->getEntry($this->key());
+               $current = $this->getListInstance()->getEntryByIndex($this->key());
 
                // Return it
                return $current;
index dd1c722d5d1bb13b25347a1d38853552e689b961..f3446541ae082adff4f1e00241942cbecb44e24c 100644 (file)
@@ -84,7 +84,7 @@ class MonitorPoolIterator extends BaseIterator implements Iterator, Registerable
                }
 
                // Now get the entry
-               $current = $this->getListInstance()->getEntry($this->key());
+               $current = $this->getListInstance()->getEntryByIndex($this->key());
 
                // Return it
                return $current;
index 283c78a6323554db98702a77a33f041cf533f8b2..7204a5405f722f707243d69eefbb5b1b35a46a13 100644 (file)
@@ -81,7 +81,7 @@ class ShutdownPoolIterator extends BaseIterator implements Iterator {
                }
 
                // Now get the entry
-               $current = $this->getListInstance()->getEntry($this->key());
+               $current = $this->getListInstance()->getEntryByIndex($this->key());
 
                // Return it
                return $current;
index cc63bc4cdffbcc8ae4d97c37a841bda19aa05e56..d1182ca25918087e685a14670eeeb480ecd66665 100644 (file)
@@ -84,7 +84,7 @@ class TaskPoolIterator extends BaseIterator implements Iterator, Registerable {
                }
 
                // Now get the entry
-               $current = $this->getListInstance()->getEntry($this->key());
+               $current = $this->getListInstance()->getEntryByIndex($this->key());
 
                // Return it
                return $current;
diff --git a/core b/core
index 8d68f4eec6508b1c1d49ef98a8bbbf0b27edd6b2..08578b5e2e37e31e45d24c17c01a6b8bc0abd53b 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 8d68f4eec6508b1c1d49ef98a8bbbf0b27edd6b2
+Subproject commit 08578b5e2e37e31e45d24c17c01a6b8bc0abd53b