Fix for Fatal error: Call to a member function getParent() on a non-obje...

...ct in ConstantDescriptor.php

This method needs to be able to return false if $node is not an instance of Descriptor\ConstantDescriptor.