X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fiterator%2Fpool%2Fmonitor%2Fclass_MonitorPoolIterator.php;h=a538edd794ecfb7d0089a6402ed824280a2df3e3;hb=ea369fbf3b5ab38fa5616561502015855e024b53;hp=72a2c2d866a7a37ab7fab0d6b0a52dee1f5238b9;hpb=74fd95e877c4ed095a2ad6fc051e40f2aea5bf86;p=hub.git diff --git a/application/hub/main/iterator/pool/monitor/class_MonitorPoolIterator.php b/application/hub/main/iterator/pool/monitor/class_MonitorPoolIterator.php index 72a2c2d86..a538edd79 100644 --- a/application/hub/main/iterator/pool/monitor/class_MonitorPoolIterator.php +++ b/application/hub/main/iterator/pool/monitor/class_MonitorPoolIterator.php @@ -2,11 +2,11 @@ /** * A MonitorPool iterator * - * @author Roland Haeder + * @author Roland Haeder * @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