mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 20:34:48 +01:00
fix: run ide-helper:models with --reset flag
This avoids that existing @property annotations are copied to cache/models.stubphp, which caused annotated properties that use an imported type to break, because the imports are not copied over.
This commit is contained in:
parent
e973fef893
commit
025a447669
@ -50,7 +50,8 @@ final class ModelStubProvider implements GeneratesStubs
|
||||
|
||||
$models_generator_command->run(
|
||||
new ArrayInput([
|
||||
'--nowrite' => true
|
||||
'--nowrite' => true,
|
||||
'--reset' => true,
|
||||
]),
|
||||
new NullOutput()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user