From cab59e22a4426036c9caf7e999145922c1d4a361 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 17 Aug 2007 04:41:59 +0000 Subject: [PATCH] $visibility in extending example is array (bug #41572) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241388 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/reflection.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/language/oop5/reflection.xml b/language/oop5/reflection.xml index 8795574b2c..fb5a8d15e2 100644 --- a/language/oop5/reflection.xml +++ b/language/oop5/reflection.xml @@ -1,5 +1,5 @@ - + Reflection @@ -842,12 +842,12 @@ printf( */ 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()); } }