mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add back fix
This commit is contained in:
parent
8d022307d2
commit
9177ad5ce0
@ -89,7 +89,7 @@ class IncDecExpressionAnalyzer
|
|||||||
$context->assigned_var_ids[$var_id] = true;
|
$context->assigned_var_ids[$var_id] = true;
|
||||||
$context->possibly_assigned_var_ids[$var_id] = true;
|
$context->possibly_assigned_var_ids[$var_id] = true;
|
||||||
|
|
||||||
if (!$context->inside_isset || !$context->inside_loop) {
|
if (!$context->inside_isset) {
|
||||||
$statements_analyzer->registerVariableAssignment(
|
$statements_analyzer->registerVariableAssignment(
|
||||||
$var_id,
|
$var_id,
|
||||||
$location
|
$location
|
||||||
|
Loading…
x
Reference in New Issue
Block a user