Oh right, I didn't see the strict parameter in line 50.

I am accustomed to use array instead of WhateverOptions.

It use "instanceof" checking instead of "null === $var".
So I thought the author wanted to allow either array, or instanceof SmtpOptions as parameter.