Warning after extract() function

I use extract() command. But after I extract array, phpStorm gives warnings for new veriables.
It says that new variables are undefined.
How can I fix this?

2 comments
Comment actions Permalink

Hi there,

A simple code example to play around with will be very useful.

But generally speaking (accordingly to http://youtrack.jetbrains.com/issue/WI-11207) the solution is to create PHPDoc comment that will explain what those variables are (what type).

0
Comment actions Permalink

Oh my bad. Thank you very much :)

0

Please sign in to leave a comment.