From 54353944313f91d3dfa0773022a600c0e1aff137 Mon Sep 17 00:00:00 2001 From: Maciek Sokolewicz Date: Fri, 8 Jun 2007 12:48:13 +0000 Subject: [PATCH] reworded visibility explenation & fixed typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237219 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/abstract.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/language/oop5/abstract.xml b/language/oop5/abstract.xml index 11c1d7eca8..569226925e 100644 --- a/language/oop5/abstract.xml +++ b/language/oop5/abstract.xml @@ -1,5 +1,5 @@ - + Class Abstraction @@ -14,10 +14,10 @@ When inheriting from an abstract class, all methods marked abstract in the parent's class declaration must be defined by the child; additionally, - these methods must be defined with the same (or weaker) - visibillity. For example, + these methods must be defined with the same (or a less restricted) + visibility. For example, if the abstract method is defined as protected, the function implementation - must be defined as either protected or public. + must be defined as either protected or public, but not private.