* @param Language|null $lang What language to get description in (Optional)
* @return string|false
*/
- function getDescriptionText( $lang = null ) {
+ function getDescriptionText( Language $lang = null ) {
$revision = Revision::newFromTitle( $this->title, false, Revision::READ_NORMAL );
if ( !$revision ) {
return false;
/**
* Cleanup a failed batch. The batch was only partially successful, so
- * rollback by removing all items that were succesfully copied.
+ * rollback by removing all items that were successfully copied.
*
* @param Status $storeStatus
* @param array[] $storeBatch