Skip to content

Commit bf527d1

Browse files
committed
Add param annotation to method for clarity
1 parent 255590c commit bf527d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: lib/services/punishment-read-write-stream.js

+4
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ class PunishmentReadWriteStream extends Transform {
9393
this.push(punished);
9494
}
9595

96+
/**
97+
* @param {Object} punished
98+
* @param {boolean} punished.isBannedWord `true` if this mute was automatically issued as a result of the user typing a banned word
99+
*/
96100
handleMute(punished) {
97101
getReporter().incrementCounter(METRIC_NAMES.MUTES_GIVEN, 1);
98102
let muteDuration = null;

0 commit comments

Comments
 (0)