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
611 stars 63 forks source link

minor: remove `faker()`/`defaultObjectInstantiator()` from `FactoryManager` #498

Closed kbond closed 10 months ago

kbond commented 10 months ago

I'll fix this up tomorrow.

kbond commented 10 months ago

@nikophil, any idea why the phpstan is failing on that line now?

nikophil commented 10 months ago

hum I don't know :thinking: I'll have a closer look later if you don't find

kbond commented 10 months ago

Ignoring for now - it's clearly invalid. I think, previously, the iterable $factories property wasn't type-hinted so phpstan didn't complain.