php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55480 IteratorIterator::getInnerIterator() doc mistake
Submitted: 2011-08-22 20:06 UTC Modified: 2011-08-22 23:52 UTC
From: xappy at np dot by Assigned: salathe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xappy at np dot by
New email:
PHP Version: OS:

 

 [2011-08-22 20:06 UTC] xappy at np dot by
Description:
------------
In documentation for IteratorIterator::getInnerIterator() in "Return Values" section written that method returns the inner iterator, but in "Description" section method definition is:
public void IteratorIterator::getInnerIterator ( void )

Maybe it must be 
Iterator IteratorIterator::getInnerIterator ( void )
or
Traversable IteratorIterator::getInnerIterator ( void ) ?



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-22 23:45 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=315318
Log: iteratoriterator method return types (doc #55480)
 [2011-08-22 23:50 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=315319
Log: getinneriterator() can return traversable (doc #55480)
 [2011-08-22 23:52 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2011-08-22 23:52 UTC] salathe@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

The return value type has been updated to Traversable. Thanks for the bug report!
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 12:00:01 2026 UTC