Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 19, 2023
1 parent f3c6193 commit 887d2ff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public static function analyze(
$extended_var_id,
$var_comments,
$removed_taints,
) === null
) === false
) {
return null;
}
Expand Down Expand Up @@ -670,7 +670,7 @@ private static function analyzeAssignment(
$assign_var->class instanceof PhpParser\Node\Name
) {
if (ExpressionAnalyzer::analyze($statements_analyzer, $assign_var, $context) === false) {
return null;
return false;
}

if ($context->check_classes) {
Expand All @@ -680,8 +680,8 @@ private static function analyzeAssignment(
$assign_value,
$assign_value_type,
$context,
) === null) {
return null;
) === false) {
return false;
}
}

Expand Down

0 comments on commit 887d2ff

Please sign in to comment.