node_data->setType($stmt, Type::getBool()); $inside_negation = $context->inside_negation; $context->inside_negation = !$inside_negation; $result = ExpressionAnalyzer::analyze($statements_analyzer, $stmt->expr, $context); $context->inside_negation = $inside_negation; return $result; } }