Skip to content
Permalink
Browse files

Fix count

  • Loading branch information
muglug committed Jan 6, 2020
1 parent 8c71da7 commit cd0d118463891c49899a09dde88b144ecf4ff1ca
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php
@@ -151,7 +151,7 @@ function ($c) use ($reconciled_expression_clauses) {
)
);

if (count($context_clauses) === 1
if (\count($context_clauses) === 1
&& $context_clauses[0]->wedge
&& !$context_clauses[0]->possibilities
) {
@@ -360,7 +360,7 @@ function ($c) use ($reconciled_expression_clauses) {
)
);

if (count($negated_left_clauses) === 1
if (\count($negated_left_clauses) === 1
&& $negated_left_clauses[0]->wedge
&& !$negated_left_clauses[0]->possibilities
) {

0 comments on commit cd0d118

Please sign in to comment.
You can’t perform that action at this time.