Using phpstan-import-type between classes makes alias unresolvable

Bug report

If you have two classes which depends on eachother with phpstan-import-type, then the type imported will be unresolveable.

Code snippet that reproduces the problem

https://phpstan.org/r/30361727-a436-4c1a-ac19-19a2f6ebfb21

Expected output

No errors. PHPStan should be able to resolve the type.

Did PHPStan help you today? Did it make you happy in any way?

PHPStan helps us every day 🎉