Resolve undefined classes in phpDoc