Moses
Genesis 40:12ESV·traditional attribution

Then Joseph said to him, “This is its interpretation: the three branches are three days.

John Calvin Reformed @genevareformer

12. The three branches are three days. Joseph does not here offer what he thought to be probable, like some ambiguous conjecturer; but asserts, by the revelation of the Spirit, the meaning of the dream. For why does he say, that by the three branches, three days rather than years are signified, unless because the Spirit of God had suggested it?

Matthew Henry Presbyterian @wholebiblehenry

Observe, I. The special providence of God, which filled the heads of these two prisoners with unusual dreams, such as made extraordinary impressions upon them, and carried with them evidences of a divine origin, both in one night. Note, God has immediate access to the spirits of men, which he can make serviceable to his own purposes whenever he pleases, quite beyond the intention of those concerned.

Commenting on Genesis 40:5-19

John Gill Reformed Baptist @doctorgill

And Joseph said unto him, this is the interpretation of it,.... Of the dream: the three branches are three days; signify three days, or, as Jarchi expresses it, are a sign of three days; which Joseph could know only by divine revelation; for there is no more likeness between branches and days, than between them and months or years, and bid as fair to signify...