Skip to content

Conversation

@fuale
Copy link

@fuale fuale commented Sep 30, 2023

In the following cases:

$bar = 1;
$obj->foo($bar); // consider $obj has __call magic method.

no need to throw a warning about an unused variable, if it inside magic method call.

In the following cases:

$bar = 1;
$obj->foo($bar);

no need to throw a warning about an unused variable, if it inside magic method call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant