vrana Fri Aug 17 04:41:59 2007 UTC
Modified files: /phpdoc/en/language/oop5 reflection.xml Log: $visibility in extending example is array (bug #41572) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/reflection.xml?r1=1.25&r2=1.26&diff_format=u Index: phpdoc/en/language/oop5/reflection.xml diff -u phpdoc/en/language/oop5/reflection.xml:1.25 phpdoc/en/language/oop5/reflection.xml:1.26 --- phpdoc/en/language/oop5/reflection.xml:1.25 Fri Aug 17 04:37:31 2007 +++ phpdoc/en/language/oop5/reflection.xml Fri Aug 17 04:41:59 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> +<!-- $Revision: 1.26 $ --> <sect1 xml:id="language.oop5.reflection" xmlns="http://docbook.org/ns/docbook"> <title>Reflection</title> <sect2 xml:id="language.oop5.reflection.introduction"> @@ -842,12 +842,12 @@ */ class My_Reflection_Method extends ReflectionMethod { - public $visibility = ''; + public $visibility = array(); public function __construct($o, $m) { parent::__construct($o, $m); - $this->visibility= Reflection::getModifierNames($this->getModifiers()); + $this->visibility = Reflection::getModifierNames($this->getModifiers()); } }