summaryrefslogtreecommitdiff
path: root/ext/spl/internal/emptyiterator.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/internal/emptyiterator.inc')
-rw-r--r--ext/spl/internal/emptyiterator.inc13
1 files changed, 2 insertions, 11 deletions
diff --git a/ext/spl/internal/emptyiterator.inc b/ext/spl/internal/emptyiterator.inc
index d02b15b999..ac80e79581 100644
--- a/ext/spl/internal/emptyiterator.inc
+++ b/ext/spl/internal/emptyiterator.inc
@@ -15,7 +15,7 @@
* @version 1.0
* @since PHP 5.1
*/
-class EmptyIterator implements Iterator, Countable
+class EmptyIterator implements Iterator
{
/** No operation.
* @return void
@@ -57,15 +57,6 @@ class EmptyIterator implements Iterator, Countable
{
// nothing to do
}
-
- /**
- * @return int
- */
- function count()
- {
- return 0;
- }
-
}
-?>
+?> \ No newline at end of file