mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
$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
This commit is contained in:
parent
b966b0342e
commit
cab59e22a4
1 changed files with 3 additions and 3 deletions
|
@ -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 @@ 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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue