A type brought in with @phpstan-import-type is a local alias, not a class
in the model's namespace, but it was resolved as one:
@property-read \App\Models\ArrayShape $some_array
Collect the aliases declared with @phpstan-type/@psalm-type or imported
with @phpstan-import-type/@psalm-import-type on the model and its parents,
and return them as written.
Fixes#1773