From ac01e6d92fec6a9de7e2190f039a469760469c3b Mon Sep 17 00:00:00 2001 From: Sean Coates <sean@php.net> Date: Wed, 27 Aug 2008 19:03:33 +0000 Subject: [PATCH] add default parameters git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265564 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/predefined/exception/construct.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/language/predefined/exception/construct.xml b/language/predefined/exception/construct.xml index a0ef0d527e..becbdffeef 100644 --- a/language/predefined/exception/construct.xml +++ b/language/predefined/exception/construct.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -11,8 +11,8 @@ &reftitle.description; <constructorsynopsis> <modifier>public</modifier> <methodname>Exception::__construct</methodname> - <methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>NULL</initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam> </constructorsynopsis> <para> Constructs the Exception.