]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/iterator/pool/monitor/class_MonitorPoolIterator.php
Hub project continued:
[hub.git] / application / hub / main / iterator / pool / monitor / class_MonitorPoolIterator.php
index 67a0f2319d99472d5575161ab3a74958fb5b7751..c58ba6247d60f93f1bd6d8edf1ef91b34ce8ba19 100644 (file)
@@ -23,7 +23,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class MonitorPoolIterator extends BaseIterator implements Iterator {
+class MonitorPoolIterator extends BaseIterator implements Iterator, Registerable {
        /**
         * Key for the global list index
         */
@@ -64,7 +64,7 @@ class MonitorPoolIterator extends BaseIterator implements Iterator {
         */
        public function current () {
                // Default is null
-               $current = null;
+               $current = NULL;
 
                // Is the entry valid?
                if (!$this->valid()) {