chore(docs): fix middleware verbiage (#5981)
* Make documentation easier to understand
* Apply suggestions from code review
Co-authored-by: Nico Domino <yo@ndo.dev>
Co-authored-by: Nico Domino <yo@ndo.dev>
Co-authored-by: Balázs Orbán <info@balazsorban.com>