zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
608 stars 63 forks source link

fix(sca): fix type system with legacy FactoryCollection #583

Closed nikophil closed 2 months ago

nikophil commented 2 months ago

I was a bit upset that the upgade to 1.x-bc would potentially break static analysis i userland: on my main project, it was creating ~50 failures - all more or less related to FactoryCollection. This PR fixes them all :grin: `