mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
fix wrong operator priority
This commit is contained in:
parent
2e7e343ef8
commit
1e70be9888
@ -231,8 +231,8 @@ class Reconciler
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (($statements_analyzer->data_flow_graph instanceof \Psalm\Internal\Codebase\TaintFlowGraph
|
if (($statements_analyzer->data_flow_graph instanceof \Psalm\Internal\Codebase\TaintFlowGraph
|
||||||
&& (!$result_type->hasScalarType())
|
&& (!$result_type->hasScalarType()
|
||||||
|| ($result_type->hasString() && !$result_type->hasLiteralString()))
|
|| ($result_type->hasString() && !$result_type->hasLiteralString())))
|
||||||
|| $statements_analyzer->data_flow_graph instanceof \Psalm\Internal\Codebase\VariableUseGraph
|
|| $statements_analyzer->data_flow_graph instanceof \Psalm\Internal\Codebase\VariableUseGraph
|
||||||
) {
|
) {
|
||||||
if ($before_adjustment && $before_adjustment->parent_nodes) {
|
if ($before_adjustment && $before_adjustment->parent_nodes) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user