So this has been asked several times but I'm yet to find an answer that works.
I'm using PhpStorm - 2016.3.2 and Laravel 5.4
I have tried using https://github.com/barryvdh/laravel-ide-helper and also the Laravel plugin for PhpStorm.
I tried checking the option "Downgrade severity if_magic methods are present in class" - this didn't work.
The only thing I can do to solve this is to turn the warnings off completely for undefined methods, but turning features like this off defeat the point of using an IDE.
Has anyone found a way to solve this?
Sources:
https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/15

Ross Wilsonshowed).. or use PHPDoc to do that (@paramtag) -- phpdoc.org/docs/latest/references/phpdoc/tags/param.html. Using inline PHPDoc with@varis not needed in this particular case -- the above 2 are much more suitable/correct ways; but it can be used in other/more complex cases.