Doc #53449 [Csd]: Case-typo in method name SplFileInfo::getBasename
| From: | rquadling@php.net | Date: | Thu, 02 Dec 2010 10:28:09 +0000 |
| Subject: | Doc #53449 [Csd]: Case-typo in method name SplFileInfo::getBasename | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5609@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53449&edit=1
ID: 53449
Updated by: rquadling@php.net
Reported by: Simon dot Harhues at zf dot com
Summary: Case-typo in method name SplFileInfo::getBasename
Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: rquadling
Block user comment: N
Private report: N
New Comment:
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=305901
Log: Correctly case getBasename.
Fixes bug #53449
Previous Comments:
------------------------------------------------------------------------
[2010-12-02 11:23:27] rquadling@php.net
This bug has been fixed in SVN.
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/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2010-12-02 10:12:10] Simon dot Harhues at zf dot com
Description:
------------
---
From manual page: http://www.php.net/splfileinfo.getbasename#Beispiele
---
In the example the method name "getbaseName" is used. Everywere else
this method is named "getBasename". Note that different case is used.
The documentation shout be corrected to "getBasename". Maybe it would be
even more consistent to rename the method to "getBaseName".
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53449&edit=1