Syllepsis in a sentence as a noun

It is probably a syllepsis, where a governing word or phrase applies differently in multiple contexts. The canonical example is "He hastened put out out the cat, the wine, his cigar and the lamps."

Syllepsis definitions

noun

use of a word to govern two or more words though agreeing in number or case etc. with only one