add PhpTypeProvider support for querybuilder root detection