/**
* Format a diff.
*
- * @param Diff $diff A Diff object.
+ * @param Diff $diff
*
* @return string The formatted output.
*/
* @param int $xlen
* @param int $ybeg
* @param int $ylen
- * @param $edits
+ * @param array $edits
*
* @throws MWException If the edit type is not known.
*/