Good catch, as this code is a bit outdated though, it's fixed already ;) The PR at zf2-documentation repo is up to date.