From 754904a1331945fa729eb1123cf0880ecd0ee4e4 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson <bjori@php.net> Date: Sun, 2 Dec 2012 05:25:05 +0000 Subject: [PATCH] Fixed #63654 ReflectionClass::getConstructor() can return null, not documented git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328599 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/reflection/reflectionclass/getconstructor.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/reflection/reflectionclass/getconstructor.xml b/reference/reflection/reflectionclass/getconstructor.xml index 28a0e9b612..511da5b9a5 100644 --- a/reference/reflection/reflectionclass/getconstructor.xml +++ b/reference/reflection/reflectionclass/getconstructor.xml @@ -27,7 +27,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - A <classname>ReflectionMethod</classname> object reflecting the class' constructor. + A <classname>ReflectionMethod</classname> object reflecting the class' constructor, or &null; if the class + has no constructor. </para> </refsect1>