Workaround PHP bug 62715 and dump type hints