fix(HookCommentSniff): Allow doc block comments about hooks with different endings (#2821834 by ZeiP)