phpstan warning: unknown view
Why do you think phpstan is complaining about this being an
unknown view
? Everything functions fine though. 2 Replies
Also, why i have your attention on the phpstan subject and typing, why does render() need so many types? Is it not simply a view being returned?
Ugh, i feel kind of dumb on the View part, it should be
View::make('forms.components.property-main-image-placeholder'),
might have just been copilot or force of habit with most components, etc. idk. lol
ok, i think might be enough. Just cant count on phpstorm setting it correctly. I know helper could return a factory if doing that, but not obviously not doing that here.right on both counts
the view contract is correct