]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/iterator/network/class_NetworkListenIterator.php
'public static final' is the right thing, some variables renamed to make clear what...
[hub.git] / application / hub / main / iterator / network / class_NetworkListenIterator.php
index 82aae67231be0f014267c9be13e06c5fd754e70a..64b57304dc4f3271719cdbad4547cfc1d2237454 100644 (file)
@@ -45,7 +45,7 @@ class NetworkListenIterator extends BaseIterator implements Iterator {
         * @param       $listInstance           A list of a Listable
         * @return      $iteratorInstance       An instance a Iterator class
         */
-       public final static function createNetworkListenIterator (Listable $listInstance) {
+       public static final function createNetworkListenIterator (Listable $listInstance) {
                // Get new instance
                $iteratorInstance = new NetworkListenIterator();
 
@@ -112,7 +112,7 @@ class NetworkListenIterator extends BaseIterator implements Iterator {
         * @return      $isValid        Wether the current entry is there
         */
        public function valid () {
-               // Check for total active clients and if we are not at the end
+               // Check for total active peers and if we are not at the end
                $isValid = ($this->key() < $this->getListInstance()->count());
 
                // Return result