com doc/fr: Apply commit 793c9fc579641578ad0c13dddc8d222ed6ff5280: reference/simplexml/simplexmlelement/attributes.xml

[email protected] (George Peter Banyard) Wed, 17 Mar 2021 14:54:40 +0000
Newsgroups php.doc.fr
Message-ID <[email protected]>
Commit:    25ab69b5d2a2ce3ec767d7013796546fe81e7bac
Author:    George Peter Banyard <[email protected]>         Wed, 17 Mar 2021 14:54:40 +0000
Parents:   8f1cff88f2e72e566336224f758d9b2445e58d32
Branches:  master

Link:       http://git.php.net/?p=doc/fr.git;a=commitdiff;h=25ab69b5d2a2ce3ec767d7013796546fe81e7bac

Log:
Apply commit 793c9fc579641578ad0c13dddc8d222ed6ff5280

SimpleXMLElement::attributes() may return NULL

Changed paths:
  M  reference/simplexml/simplexmlelement/attributes.xml


Diff:
diff --git a/reference/simplexml/simplexmlelement/attributes.xml b/reference/simplexml/simplexmlelement/attributes.xml
index 2cd981d908..6b84927201 100644
--- a/reference/simplexml/simplexmlelement/attributes.xml
+++ b/reference/simplexml/simplexmlelement/attributes.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: cd38bc2a916cbf9687c52f8b4af371cae8a182e4 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 793c9fc579641578ad0c13dddc8d222ed6ff5280 Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 
 <refentry xml:id="simplexmlelement.attributes" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <modifier>public</modifier> <type>SimpleXMLElement</type><methodname>SimpleXMLElement::attributes</methodname>
+   <modifier>public</modifier> <type class="union"><type>SimpleXMLElement</type><type>null</type></type><methodname>SimpleXMLElement::attributes</methodname>
    <methodparam choice="opt"><type>string</type><parameter>ns</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>is_prefix</parameter><initializer>&false;</initializer></methodparam>
   </methodsynopsis>