#40103 [Opn->Csd]: Visibility should be public for overload methods in the documentation
| From: | bjori@php.net | Date: | Thu, 11 Jan 2007 23:06:07 +0000 |
| Subject: | #40103 [Opn->Csd]: Visibility should be public for overload methods in the documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374757@lists.php.net to get a copy of this message | ||
ID: 40103
Updated by: bjori@php.net
Reported By: mattsch at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bjori
New Comment:
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.
Good catch
Previous Comments:
------------------------------------------------------------------------
[2007-01-11 22:28:49] mattsch at gmail dot com
Description:
------------
http://www.php.net/manual/en/language.oop5.overloading.php
The example sets the visibility of the overload methods to private when
they should be public. AFAIK it shouldn't override the visibility of
the method it is overloading.
Reproduce code:
---------------
private
Expected result:
----------------
public
Actual result:
--------------
private
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40103&edit=1