Files
barryvdh_laravel-ide-helper/tests/Console/ModelsCommand
Hugo Mayonobe 20497cb988 Keep imported phpstan/psalm types unqualified (#1797)
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
2026-08-20 16:16:03 +02:00
..
2024-10-28 12:21:53 +01:00