Hi,
Given a variable that the type is already known:
$foo = Type\instance_of(BarInterface::class)->assert($foo);
$foo = Type\instance_of(FooInterface::class)->assert($foo);
Then type of $foo will become FooInterface, but I would expect BarInterface&FooInterface
What do you think?
Thanks