forked from phoedos/pmd

- This fixes #904 - `hasDescendantOfType`, `getFirstDescendantOfType` and `findDescendantsOfType` are now consistent
- This fixes #904 - `hasDescendantOfType`, `getFirstDescendantOfType` and `findDescendantsOfType` are now consistent