com doc/ja: Annotate return types for Throwable/Exception/Error as possibly returning null: language/predefined/error/getprevious.xml
language/predefined/exception/getprevious.xml language/predefined/throwable/getprevious.xml
| From: | Yoshinari Takaoka | Date: | Thu, 18 Mar 2021 17:25:18 +0000 |
| Subject: | com doc/ja: Annotate return types for Throwable/Exception/Error as possibly returning null: language/predefined/error/getprevious.xml language/predefined/exception/getprevious.xml language/predefined/throwable/getprevious.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6256@lists.php.net to get a copy of this message | ||
Commit: f6c0c57b0e46d3342d623118299aebcefdfd7970
Author: Yoshinari Takaoka <mumumu@mumumu.org> Fri, 19 Mar 2021 02:25:18 +0900
Parents: fc7eccbeb0bde51285a152ae76925dade49ce957
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=f6c0c57b0e46d3342d623118299aebcefdfd7970
Log:
Annotate return types for Throwable/Exception/Error as possibly returning null
Changed paths:
M language/predefined/error/getprevious.xml
M language/predefined/exception/getprevious.xml
M language/predefined/throwable/getprevious.xml
Diff:
diff --git a/language/predefined/error/getprevious.xml b/language/predefined/error/getprevious.xml
index cec91370ab..5947ea1786 100644
--- a/language/predefined/error/getprevious.xml
+++ b/language/predefined/error/getprevious.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: e9366ee458b2900c53a503b1ad97664e1d9a8859 Maintainer: iwamot Status: ready
-->
+<!-- EN-Revision: 6a89105fdc8fc94d843567c3738925289ef3a499 Maintainer: iwamot Status: ready
-->
<refentry xml:id="error.getprevious" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier>
<type>Throwable</type><methodname>Error::getPrevious</methodname>
+ <modifier>final</modifier> <modifier>public</modifier> <type
class="union"><type>Throwable</type><type>null</type></type>
<methodname>Error::getPrevious</methodname>
<void />
</methodsynopsis>
<para>
diff --git a/language/predefined/exception/getprevious.xml
b/language/predefined/exception/getprevious.xml
index 35a84ed275..b387762a79 100644
--- a/language/predefined/exception/getprevious.xml
+++ b/language/predefined/exception/getprevious.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: cdaea0421544885f02ff3d36bd203dc01b78299e Maintainer: takagi Status: ready
-->
+<!-- EN-Revision: 6a89105fdc8fc94d843567c3738925289ef3a499 Maintainer: takagi Status: ready
-->
<!-- Credits: mumumu -->
<refentry xml:id="exception.getprevious" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier>
<type>Exception</type><methodname>Exception::getPrevious</methodname>
+ <modifier>final</modifier> <modifier>public</modifier><type
class="union"><type>Throwable</type><type>null</type></type><methodname>Exception::getPrevious</methodname>
<void />
</methodsynopsis>
<para>
diff --git a/language/predefined/throwable/getprevious.xml
b/language/predefined/throwable/getprevious.xml
index 18711b5f66..6502896350 100644
--- a/language/predefined/throwable/getprevious.xml
+++ b/language/predefined/throwable/getprevious.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 7050d96265255c11615116e462e3eec0c068e2a6 Maintainer: takagi Status: ready
-->
+<!-- EN-Revision: 6a89105fdc8fc94d843567c3738925289ef3a499 Maintainer: takagi Status: ready
-->
<refentry xml:id="throwable.getprevious" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>abstract</modifier> <modifier>public</modifier>
<type>Throwable</type><methodname>Throwable::getPrevious</methodname>
+ <modifier>abstract</modifier> <modifier>public</modifier> <type
class="union"><type>Throwable</type><type>null</type></type>
<methodname>Throwable::getPrevious</methodname>
<void />
</methodsynopsis>
<para>