When I use intersection types, the php artisan check:imports command throws an error where it should not.
Example:
namespace App\Services;
use App\Contracts\ContractA;
use App\Contracts\ContractB;
class MyClass {
public function myFunction(ContractA&ContractB $myContract): void
{
// function content
}
}
Hi,
When I use intersection types, the
php artisan check:imports
command throws an error where it should not.Example:
throws