[UPDATE] minor updates

Minor update to avoid PHP warning about empty XML content when calling
the method on a DOMDocument property type

Php doc block comment update