mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Exception::getCode() returns string in PDOException
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306174 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e5ae688b2f
commit
6fff44bf99
1 changed files with 5 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getCode</methodname>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>Exception::getCode</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
@ -26,7 +26,10 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the Exception code as a <type>integer</type>.
|
||||
Returns the exception code as <type>integer</type> in
|
||||
<classname>Exception</classname> but possibly as other type in
|
||||
<classname>Exception</classname> descendants (for example as
|
||||
<type>string</type> in <classname>PDOException</classname>).
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue