From 6fff44bf994df0afa2a6e34c915b578a7dc68a19 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 10 Dec 2010 08:22:33 +0000 Subject: [PATCH] Exception::getCode() returns string in PDOException git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306174 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/predefined/exception/getcode.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/language/predefined/exception/getcode.xml b/language/predefined/exception/getcode.xml index f9bbb6d4fa..1665c663e7 100644 --- a/language/predefined/exception/getcode.xml +++ b/language/predefined/exception/getcode.xml @@ -10,7 +10,7 @@ &reftitle.description; - final public intException::getCode + final public mixedException::getCode @@ -26,7 +26,10 @@ &reftitle.returnvalues; - Returns the Exception code as a integer. + Returns the exception code as integer in + Exception but possibly as other type in + Exception descendants (for example as + string in PDOException).