Skip to content

Commit 7fadc04

Browse files
committed
QA: Inline documentation
1 parent 546e26e commit 7fadc04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/php/com/mongodb/io/Compression.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public function for($sections, $length) {
8383
isset($sections['copydb'])
8484
)) return null;
8585

86-
// Currently always select the first compressor negotiated
86+
// When compressing, clients MUST use the first compressor in the client's
87+
// configured compressors list that is also in the servers list.
8788
return current($this->compressors);
8889
}
8990

0 commit comments

Comments
 (0)