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()); } }