Syntax highlighting for Laravel in PhpStorm?

When you create a file migrations, this kind of lighting flies such an error
a0HpJve.png

IDE helper set cleared the compiled versions of the files were re-optimized projects, and generated Hidehelper files, highlighting the "mistakes" left... someone tell me how to solve?
(Disable highlighting errors, but I do not want)
July 9th 19 at 13:16
2 answers
July 9th 19 at 13:18
This is not an error, Warning. There is the fact that the attributes (or rather methods) set magic method (__call). Because these methods are not documented (via @method PHPDoc), then PhpStorm doesn't know about them. The IDE helper will not help so you just have to ignore these messages.
view of my own, but it seems like solves the problem - omer_Larson commented on July 9th 19 at 13:21
https://toster.ru/answer?answer_id=817800#answers_... - omer_Larson commented on July 9th 19 at 13:24
: decide exactly until the next update. - Domenick.Ste commented on July 9th 19 at 13:27
: you have a crooked crutch - osvaldo83 commented on July 9th 19 at 13:30
July 9th 19 at 13:20
/
/**
 * @method Fluent first()
 * @method Fluent after($column)
 * @method Fluent change()
 * @method Fluent nullable()
 * @method Fluent unsigned()
 * @method Fluent unique()
 * @method Fluent index()
 * @method Fluent primary()
 * @method Fluent default($value)
 * @method onUpdate Fluent($value)
 * @method onDelete Fluent($value)
 * @method Fluent references($value)
 * @method Fluent on($value)
 */


As an alternative solution to number 1 is found written in
\vendor\laravel\framework\src\Illuminate\Support\Fluent.php

Find more questions by tags LaravelPhpStorm