Quotative inversion occurs in sentences where the direct quotation can arise before a verb of claiming or following a verb of saying. It might trigger inversion of your verb as well as the verb's topic. Subject matter-verb inversion takes place most often in published works, becoming scarce in speech. https://charlesn418agl2.oneworldwiki.com/user