Make PhpStorm happy by giving the $delta argument an actual float as its default value
Fix whitespace
Improve comparison of DOMNode objects