]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/iterator/pool/monitor/class_MonitorPoolIterator.php
Continued with hub:
[hub.git] / application / hub / main / iterator / pool / monitor / class_MonitorPoolIterator.php
index 72a2c2d866a7a37ab7fab0d6b0a52dee1f5238b9..a538edd794ecfb7d0089a6402ed824280a2df3e3 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A MonitorPool iterator
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  * @todo               This current implementation is not recommended, use a
  * @todo               latency-based iteration or similar approaches
  *
@@ -64,7 +64,7 @@ class MonitorPoolIterator extends BaseIterator implements Iterator, Registerable
         */
        public function current () {
                // Default is null
-               $current = null;
+               $current = NULL;
 
                // Is the entry valid?
                if (!$this->valid()) {
@@ -107,9 +107,9 @@ class MonitorPoolIterator extends BaseIterator implements Iterator, Registerable
        }
 
        /**
-        * Checks wether the current entry is valid (not at the end of the list)
+        * Checks whether the current entry is valid (not at the end of the list)
         *
-        * @return      $isValid        Wether the current entry is there
+        * @return      $isValid        Whether the current entry is there
         */
        public function valid () {
                // Check for total active peers and if we are not at the end