From 6a8863a5a9ad872043151b0f0df255042055fc6b Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 17 Feb 2017 18:05:40 +0000 Subject: [PATCH] Fix typo Patch provided by savdeep singh. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341919 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/visibility.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/oop5/visibility.xml b/language/oop5/visibility.xml index a514c61611..8287c6fa73 100644 --- a/language/oop5/visibility.xml +++ b/language/oop5/visibility.xml @@ -55,7 +55,7 @@ $obj->printHello(); // Shows Public, Protected and Private */ class MyClass2 extends MyClass { - // We can redeclare the public and protected method, but not private + // We can redeclare the public and protected properties, but not private public $public = 'Public2'; protected $protected = 'Protected2';