Description
The DOMDocument::importNode method takes a DOMNode*.
To improve consistency it would be nice to have the pointer passed to the import be a const DOMNode*.
The method currently looks like:
DOMNode* DOMDocument::importNode (DOMNode *importedNode, bool deep);
but seeing as the importedNode shouldn't change with the call, the method could be changed to:
DOMNode* DOMDocument::importNode (const DOMNode *importedNode, bool deep);