DomElement::setAttribute does not always return a new DomAttr instance

See https://3v4l.org/8YrUO

Closes GH-919.
This commit is contained in:
Dennis Birkholz 2021-09-06 15:45:41 +02:00 committed by GitHub
parent 66459d593b
commit 4854fd6254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
<refentry xml:id="domelement.setattribute" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>DOMElement::setAttribute</refname>
<refpurpose>Adds new attribute</refpurpose>
<refpurpose>Adds new or modifies existing attribute</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
@ -43,7 +43,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The new <classname>DOMAttr</classname> or &false; if an error occurred.
The created or modified <classname>DOMAttr</classname> or &false; if an error occurred.
</para>
</refsect1>
<refsect1 role="errors">