]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/iterator/hub/class_HubPingIterator.php
Updated 'core'.
[hub.git] / application / hub / main / iterator / hub / class_HubPingIterator.php
index 4c21ee7ccce3d98f10e01f9a8b95d5dba17a07ad..8f65db578661e43b2b0edccd69282d3a53b4c825 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A HubPing 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 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@ class HubPingIterator extends BaseIterator implements Iterator {
         *
         * @return      $iteratorInstance               An instance of a Iterator class
         */
-       public final static function createHubPingIterator () {
+       public static final function createHubPingIterator () {
                // Get new instance
                $iteratorInstance = new HubPingIterator();
 
@@ -52,7 +52,7 @@ class HubPingIterator extends BaseIterator implements Iterator {
         */
        public function current () {
                // Default is null
-               $current = null;
+               $current = NULL;
 
                $this->partialStub('Please implement this method.');
 
@@ -67,7 +67,7 @@ class HubPingIterator extends BaseIterator implements Iterator {
         */
        public function key () {
                // Default is null
-               $key = null;
+               $key = NULL;
 
                $this->partialStub('Please implement this method.');
 
@@ -94,7 +94,7 @@ class HubPingIterator extends BaseIterator implements Iterator {
        }
 
        /**
-        * 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      void
         */