Typo in example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333172 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2014-03-29 21:53:30 +00:00
parent bcafcd5fd4
commit f4aa62f285

View file

@ -71,7 +71,7 @@ class MySeekableIterator implements SeekableIterator {
/* Method required for SeekableIterator interface */
public function seek($position) {
if (!isset($this->array[$position]) {
if (!isset($this->array[$position])) {
throw new OutOfBoundsException("invalid seek position ($position)");
}