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).