com doc/ja: Add nullable to return type for Serializable::serialize: language/predefined/serializable/serialize.xml

[email protected] (Yoshinari Takaoka) Thu, 28 Jan 2021 14:48:01 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
Commit:    56f4c00333fa6ab034c6ffee79ddc11f3e2ee636
Author:    Yoshinari Takaoka <[email protected]>         Thu, 28 Jan 2021 23:48:01 +0900
Parents:   081591a04b5cd77895702576413c72e9abfb2d48
Branches:  master

Link:       http://git.php.net/?p=doc/ja.git;a=commitdiff;h=56f4c00333fa6ab034c6ffee79ddc11f3e2ee636

Log:
Add nullable to return type for Serializable::serialize

Co-authored-by: Christoph M. Becker <[email protected]>

Closes GH-423.

Changed paths:
  M  language/predefined/serializable/serialize.xml


Diff:
diff --git a/language/predefined/serializable/serialize.xml b/language/predefined/serializable/serialize.xml
index 8fe8b9fe09..c325f1cc49 100644
--- a/language/predefined/serializable/serialize.xml
+++ b/language/predefined/serializable/serialize.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 83d6523933ab364865e321ad8e127117435b0803 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: fc4e5c27fa0f37f42420ae24300ad0b3d6c1a77b Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 
 <refentry xml:id="serializable.serialize" 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>abstract</modifier> <modifier>public</modifier> <type>string</type><methodname>Serializable::serialize</methodname>
+   <modifier>abstract</modifier> <modifier>public</modifier> <type class="union"><type>string</type><type>null</type></type><methodname>Serializable::serialize</methodname>
    <void />
   </methodsynopsis>
   <para>