ApiQueryUserContribs: Only use 'contributions' replica if querying by user ID
[lhc/web/wiklou.git] / includes / jobqueue / Job.php
index 45ab4d3..d624acf 100644 (file)
@@ -67,7 +67,7 @@ abstract class Job implements IJobSpecification {
         * @param string $command Job command
         * @param Title $title Associated title
         * @param array $params Job parameters
-        * @throws MWException
+        * @throws InvalidArgumentException
         * @return Job
         */
        public static function factory( $command, Title $title, $params = [] ) {