summaryrefslogtreecommitdiff
path: root/src/hashiterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashiterator.h')
-rw-r--r--src/hashiterator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hashiterator.h b/src/hashiterator.h
index d68ad4e..b1f409f 100644
--- a/src/hashiterator.h
+++ b/src/hashiterator.h
@@ -20,7 +20,7 @@ namespace Php {
/**
* Class definition
*/
-class HashIterator : public IteratorImpl
+class HashIterator : public ValueIteratorImpl
{
public:
/**
@@ -70,9 +70,9 @@ public:
/**
* Clone the object
* @param tsrm_ls
- * @return IteratorImpl
+ * @return ValueIteratorImpl
*/
- virtual IteratorImpl *clone()
+ virtual ValueIteratorImpl *clone()
{
// create a new instance
return new HashIterator(*this);
@@ -136,7 +136,7 @@ public:
* @param that
* @return bool
*/
- virtual bool equals(const IteratorImpl *that) const override
+ virtual bool equals(const ValueIteratorImpl *that) const override
{
// this always is a hash iterator
HashIterator *other = (HashIterator *)that;