fixes Fatal error: Call to a member function getDocComment() on a non-object