method does not exists with magic method __call

Hi,
is there something to avoid "method does not exsist" when there's a call to a class has the magic method __call?

2 comments
Comment actions Permalink

Hi there,

Settings | Inspections | PHP | Undefined | Undefined method

Either disable it completely (you can have multiple profiles -- in one it can be disabled and enabled in another) .. or tick "Downgrade severity if __magic methods are present in class"

0
Comment actions Permalink

Thank you Adriy,
disabling it completely is too extreme solution. But good to know about "Downgrade severity if __magic methods are present in class" :)

0

Please sign in to leave a comment.