mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Change __construct() return type to void (fixes bug #41570)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237897 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cacbe74a96
commit
0d40844350
1 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.22 $ -->
|
||||
<!-- $Revision: 1.23 $ -->
|
||||
<sect1 id="language.oop5.reflection">
|
||||
<title>Reflection</title>
|
||||
<sect2 id="language.oop5.reflection.introduction">
|
||||
|
@ -133,7 +133,7 @@ Class [ <internal> class Exception ] {
|
|||
class ReflectionFunction extends ReflectionFunctionAbstract implements Reflector
|
||||
{
|
||||
final private __clone()
|
||||
public object __construct(string name)
|
||||
public void __construct(string name)
|
||||
public string __toString()
|
||||
public static string export(string name, bool return)
|
||||
public string getName()
|
||||
|
@ -241,7 +241,7 @@ echo ReflectionFunction::export('counter');
|
|||
class ReflectionParameter implements Reflector
|
||||
{
|
||||
final private __clone()
|
||||
public object __construct(string function, string parameter)
|
||||
public void __construct(string function, string parameter)
|
||||
public string __toString()
|
||||
public static string export(mixed function, mixed parameter, bool return)
|
||||
public string getName()
|
||||
|
@ -328,7 +328,7 @@ foreach ($reflect->getParameters() as $i => $param) {
|
|||
class ReflectionClass implements Reflector
|
||||
{
|
||||
final private __clone()
|
||||
public object __construct(string name)
|
||||
public void __construct(string name)
|
||||
public string __toString()
|
||||
public static string export(mixed class, bool return)
|
||||
public string getName()
|
||||
|
@ -499,7 +499,7 @@ if ($class->isInstantiable()) {
|
|||
class ReflectionObject extends ReflectionClass
|
||||
{
|
||||
final private __clone()
|
||||
public object __construct(mixed object)
|
||||
public void __construct(mixed object)
|
||||
public string __toString()
|
||||
public static string export(mixed object, bool return)
|
||||
}
|
||||
|
@ -521,7 +521,7 @@ class ReflectionObject extends ReflectionClass
|
|||
<?php
|
||||
class ReflectionMethod extends ReflectionFunctionAbstract implements Reflector
|
||||
{
|
||||
public __construct(mixed class, string name)
|
||||
public void __construct(mixed class, string name)
|
||||
public string __toString()
|
||||
public static string export(mixed class, string name, bool return)
|
||||
public mixed invoke(stdclass object, mixed args)
|
||||
|
@ -653,7 +653,7 @@ var_dump($method->invoke(NULL));
|
|||
class ReflectionProperty implements Reflector
|
||||
{
|
||||
final private __clone()
|
||||
public __construct(mixed class, string name)
|
||||
public void __construct(mixed class, string name)
|
||||
public string __toString()
|
||||
public static string export(mixed class, string name, bool return)
|
||||
public string getName()
|
||||
|
@ -747,7 +747,7 @@ var_dump($obj);
|
|||
<?php
|
||||
class ReflectionExtension implements Reflector {
|
||||
final private __clone()
|
||||
public __construct(string name)
|
||||
public void __construct(string name)
|
||||
public string __toString()
|
||||
public static string export(string name, bool return)
|
||||
public string getName()
|
||||
|
|
Loading…
Reference in a new issue