Skip to content

Commit a8fae58

Browse files
committed
Fix wrong type in DocumentsMatchConstraint
1 parent ccfc769 commit a8fae58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/SpecTests/DocumentsMatchConstraint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ private function doEvaluate($other, $description = '', $returnResult = false)
108108
}
109109
}
110110

111-
/** @param string|string[] $expectedType */
112-
private function assertBSONType(string|array $expectedType, mixed $actualValue): void
111+
/** @param string|BSONArray[] $expectedType */
112+
private function assertBSONType(string|BSONArray $expectedType, mixed $actualValue): void
113113
{
114114
assertThat(
115115
$expectedType,

0 commit comments

Comments
 (0)