-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.x checklist #516
Comments
Static analysis
// SomeObjectFactory extends PersistentProxyObjectFactory
return $this->instantiateWith(
static fn () => new SomeObject()
) this code results in this error (I've replaced the full object FQCN by
=> phpstan wants a closure which returns a |
I'm adding some todo here |
(to be moved to 2.x PR)
Zenstruck\Foundry\anonymous()
in favor ofZenstruck\Foundry\factory()
zenstruck/callback
The text was updated successfully, but these errors were encountered: