private $exceptionFromAddDBData;
/**
- * @var FetchText the (mocked) FetchText that is to test
+ * @var FetchText The (mocked) FetchText that is to test
*/
private $fetchText;
*
* @param WikiPage $page The page to add the revision to
* @param string $text The revisions text
- * @param string $text The revisions summare
- *
- * @throws MWExcepion
+ * @param string $summary The revisions summare
+ * @return int
+ * @throws MWException
*/
private function addRevision( $page, $text, $summary ) {
$status = $page->doEditContent(