Open bendavies opened 2 years ago
Hi
Related to #6
$foo = Type\intersection( Type\instance_of(Foo::class), Type\instance_of(Bar::class), Type\instance_of(Baz::class), Type\instance_of(Boo::class), )->assert($foo);
the type of $foo should be: Foo&Bar&Baz&Boo but is: (Foo&Bar)|(Baz&Boo)
$foo
Foo&Bar&Baz&Boo
(Foo&Bar)|(Baz&Boo)
Thanks
Hi
Related to #6
the type of
$foo
should be:Foo&Bar&Baz&Boo
but is:(Foo&Bar)|(Baz&Boo)
Thanks