mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix comment of constructor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249447 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a3408906fa
commit
20d0690efb
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<sect1 xml:id="language.oop5.visibility" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Visibility</title>
|
||||
<para>
|
||||
|
@ -97,7 +97,7 @@ $obj2->printHello(); // Shows Public, Protected2, Undefined
|
|||
*/
|
||||
class MyClass
|
||||
{
|
||||
// Contructors must be public
|
||||
// Declare a public constructor
|
||||
public function __construct() { }
|
||||
|
||||
// Declare a public method
|
||||
|
|
Loading…
Reference in a new issue