PhpStorm how to remove "Method 'findById' not found in class ..." notice in Code Inspection?

123 views Asked by At

If I let the code inspection run through my CakePHP project code all magic methods like findById() or findAllByName() are marked as "undefined".

In the background they call the __call() method of the Model.php class.

Is there an option that those are not marked as an error any more? It is spamming my inspection output. Not a serious problem, but it would be nice to get rid of an error, which is not an error.

0

There are 0 answers