* @ingroup API
*/
class ApiFileRevert extends ApiBase {
-
- /**
- * @var File
- */
+ /** @var LocalFile */
protected $file;
+
+ /** @var string */
protected $archiveName;
+ /** @var array */
protected $params;
public function execute() {
public function getDescription() {
return array(
- 'Revert a file to an old version'
+ 'Revert a file to an old version.'
);
}