diff options
| author | Marcus Boerger <helly@php.net> | 2004-09-29 20:27:36 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-09-29 20:27:36 +0000 |
| commit | 1619178f5ee0d2309054b6a987bafd98dc2d3949 (patch) | |
| tree | 0f46f428c348584aa2fa33975406b4034748d524 /ext/spl/examples/iteratoriterator.inc | |
| parent | e109ab54926ac5be797797c032eceb7027c6b6f9 (diff) | |
| download | php-git-1619178f5ee0d2309054b6a987bafd98dc2d3949.tar.gz | |
- Speling
Diffstat (limited to 'ext/spl/examples/iteratoriterator.inc')
| -rwxr-xr-x | ext/spl/examples/iteratoriterator.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/examples/iteratoriterator.inc b/ext/spl/examples/iteratoriterator.inc index 3290fc767c..8ed8c6fcd7 100755 --- a/ext/spl/examples/iteratoriterator.inc +++ b/ext/spl/examples/iteratoriterator.inc @@ -8,7 +8,7 @@ class IteratorIterator implements OuterIterator /** Construct an IteratorIterator from an Iterator or an IteratorAggregate. * * Classes that only implement Traversable can be wrapped only after - * converting class IteratorItaerator into c code. + * converting class IteratorIterator into c code. */ function __construct(Traversable $iterator) { @@ -33,7 +33,7 @@ class IteratorIterator implements OuterIterator return $this->iterator; } - /** \return whetehr the iterator is valid + /** \return whether the iterator is valid */ function valid() { @@ -68,7 +68,7 @@ class IteratorIterator implements OuterIterator return $this->iterator->rewind(); } - /** The inner iterator must be public becaus ewhen this class will be + /** The inner iterator must be private because when this class will be * converted to c code it won't no longer be available. */ private $iterator; |
