svn: /phpdoc/zh/trunk/language/predefined/exception/ getcode.xml

[email protected] (CHU Zhaowei) Mon, 28 Dec 2020 05:47:14 +0000
Newsgroups php.doc.zh
Message-ID <[email protected]>
jhdxr                                    Mon, 28 Dec 2020 05:47:14 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352234

Log:
fix #80504  sync with en version

Bug: https://bugs.php.net/80504 (Verified) [ZH] Documentation ERROR in `Exception::getCode `
      
Changed paths:
    U   phpdoc/zh/trunk/language/predefined/exception/getcode.xml

Modified: phpdoc/zh/trunk/language/predefined/exception/getcode.xml
===================================================================
--- phpdoc/zh/trunk/language/predefined/exception/getcode.xml	2020-12-28 01:03:18 UTC (rev 352233)
+++ phpdoc/zh/trunk/language/predefined/exception/getcode.xml	2020-12-28 05:47:14 UTC (rev 352234)
@@ -11,7 +11,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>
@@ -27,7 +27,7 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   <classname>Exception</classname> 返回整型(<type>integer</type>)的异常代码,但在其他类中可能返回其他类型(比如在 <classname>PDOException</classname> 中返回 <type>string</type>)。
+   <classname>Exception</classname> 返回整型(<type>int</type>)的异常代码,但在其他类中可能返回其他类型(比如在 <classname>PDOException</classname> 中返回 <type>string</type>)。
   </para>
  </refsect1>