Skip to content

Commit cbc04c4

Browse files
Explicitly ignore empty.notAllowed error
1 parent 01e0e27 commit cbc04c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Framework/Constraint/Cardinality/IsEmpty.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ protected function matches(mixed $other): bool
4343
return count($other) === 0;
4444
}
4545

46+
/** @phpstan-ignore empty.notAllowed */
4647
return empty($other);
4748
}
4849

0 commit comments

Comments
 (0)