Reword description on DOMDocument::domElement (#973)

* Reword documentElement clumsy description

* Reword "will return" to "evaluates to"
This commit is contained in:
Carlos C Soto 2021-12-11 19:14:58 -06:00 committed by GitHub
parent a48db6e7cd
commit 9d1833c496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,9 +199,8 @@
<term><varname>documentElement</varname></term>
<listitem>
<para>
This is a convenience attribute that allows direct access to the
child node that is the document element of the document. This is
&null; when does not exists.
The <classname>DOMElement</classname> object that is the first
document element. If not found, this evaluates to &null;.
</para>
</listitem>
</varlistentry>