]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/iterator/network/class_NetworkListenIterator.php
Copyright notice updated, our first hub application introduced (which is incomplete)
[hub.git] / application / hub / main / iterator / network / class_NetworkListenIterator.php
index e08bf97518ad321462fbf20627696163a42ea4c6..e451c0a8004d4f5ddcf8089066e03e9c0887ac38 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @todo               This current implementation is not recommended, use a
@@ -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