added phpdoc for isType widget