php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77925 Wrong return type in CachingIterator::current() description
Submitted: 2019-04-19 15:16 UTC Modified: 2019-04-20 14:40 UTC
From: fabien dot villepinte at gmail dot com Assigned: girgias (profile)
Status: Closed Package: SPL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fabien dot villepinte at gmail dot com
New email:
PHP Version: OS:

 

 [2019-04-19 15:16 UTC] fabien dot villepinte at gmail dot com
Description:
------------
http://docs.php.net/manual/en/cachingiterator.current.php

In the description of CachingIterator::current() the return type is "void" instead of "mixed".

However the "Return Values" section is right.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-20 14:33 UTC] girgias@php.net
Automatic comment from SVN on behalf of girgias
Revision: http://svn.php.net/viewvc/?view=revision&revision=347299
Log: Fix Doc Bug #77925
 [2019-04-20 14:38 UTC] girgias@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: girgias
 [2019-04-20 14:38 UTC] girgias@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2019-04-20 14:40 UTC] girgias@php.net
My bad thought a quick fix message was appropriate for Doc Bug fixed but doesn't seem like it.
The fix should appear tomorrow when the EN Doc build rebuilds.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC