* @param $desc String: description to add to the array if the option was
* enabled / disabled.
* @param $field Integer: the bitmask describing the single option.
- * @param $diff Integer: The xor of the old and new bitfields.
- * @param $arr Array: The array to update.
+ * @param $diff Integer: the xor of the old and new bitfields.
+ * @param $new Integer: the new bitfield
+ * @param $arr Array: the array to update.
*/
protected static function checkItem( $desc, $field, $diff, $new, &$arr ) {
if( $diff & $field ) {