php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75948 Incorrect param type documentation for RecursiveIteratorIterator::setMaxDepth
Submitted: 2018-02-11 04:37 UTC Modified: 2018-02-11 12:24 UTC
From: tandre at themeetgroup dot com Assigned: cmb (profile)
Status: Closed Package: SPL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2018-02-11 04:37 UTC] tandre at themeetgroup dot com
Description:
------------
https://secure.php.net/manual/en/recursiveiteratoriterator.setmaxdepth.php currently is described as the following:

> public void RecursiveIteratorIterator::setMaxDepth ([ string $max_depth = -1 ] )

The param documentation should instead say int $max_depth = -1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-11 12:24 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=344210
Log: Fix bug #75948 (Incorrect param type documentation for RecursiveIteratorIterator::setMaxDepth)
 [2018-02-11 12:24 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-02-11 12:24 UTC] cmb@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.
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3f875a0dcd49d29e7417201535d790b03a04b80e
Log: Fix bug #75948 (Incorrect param type documentation for RecursiveIteratorIterator::setMaxDepth)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC