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?

0

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
Avatar
Permanently deleted user

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

请先登录再写评论。