Open lurkie opened 2 years ago
In PHPStorm, the following code snippet will result into an 'Unresolved key' inspection. Besides the fact that gettext() should probably used differently, the inspection is not correct. I would have expected no warning at this point.
gettext()
$array = ['foo' => 'bar']; echo _($array['foo']);
Perhaps related to issue #85
In PHPStorm, the following code snippet will result into an 'Unresolved key' inspection. Besides the fact that
gettext()
should probably used differently, the inspection is not correct. I would have expected no warning at this point.Perhaps related to issue #85