* @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();
* @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