->contain() vs find('all',['contain'])

Hi!
is there a reason why I get different results set for this two methods?
find()->contain("SomeModel") vs find('all',['contain' => "SomeModel"])

using version 3.1, second work better, first omit some_model in results set.

Is that the entirety of your call? The two have, to my recollection, always been interchangeable for me since 3.0.

3.1 is no longer supported.

In 3.8 both should work the same

I think it should be :
find()->contain([“SomeModel”])