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:
Claas Augner 2021-07-06 21:39:22 +02:00
parent e973fef893
commit 025a447669

View File

@ -50,7 +50,8 @@ final class ModelStubProvider implements GeneratesStubs
$models_generator_command->run(
new ArrayInput([
'--nowrite' => true
'--nowrite' => true,
'--reset' => true,
]),
new NullOutput()
);