where is $form defined

Hi I'm using the form build for some front end forms. In VS Code and PhpStorm I get a squiggly line under 'form' in e.g. $this->form->fill I know it's working, but I get 'ticks' if I have errors/warnings like this and would like to get it fixed any hint on how to fix this ?
2 Replies
josef
josef2y ago
add this above your class
/**
* @property Forms\ComponentContainer $form
*/
/**
* @property Forms\ComponentContainer $form
*/
rabol
rabolOP2y ago
Perfect, thanks!
Want results from more Discord servers?
Add your server