Parashas Vayeishev · Passuk 40:16
When the chief baker saw how favorably he had interpreted, he said to Joseph, “In my dream, similarly, there were three openwork basketsbopenwork baskets In contrast to others “baskets with white bread” or “white baskets”; meaning of Heb. ḥori uncertain. on my head.
Torah Temimah points to Berachos 55b.
English: “For he had interpreted well” — from where did he know? R’ Elazar said: this teaches that each one was shown his own dream and the interpretation of his fellow’s dream.
Derash on the verse (Bavli sugya) — not a formal named middah of the 13. Knowledge of a good interpretation is explained by shared dream-revelation.
Each prisoner was shown both dreams; that is how the baker could judge that Yosef had interpreted well.