dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c530785
)
Job::factory should throw an InvalidArgumentException, not MWException
author
Derick Alangi
<alangiderick@gmail.com>
Wed, 30 Jan 2019 19:40:46 +0000
(20:40 +0100)
committer
Jforrester
<jforrester@wikimedia.org>
Mon, 11 Feb 2019 23:35:47 +0000
(23:35 +0000)
Change-Id: I9a85562b205db604d2746ec5db0e72dacdb93c6d
includes/jobqueue/Job.php
patch
|
blob
|
history
diff --git
a/includes/jobqueue/Job.php
b/includes/jobqueue/Job.php
index
45ab4d3
..
d624acf
100644
(file)
--- a/
includes/jobqueue/Job.php
+++ b/
includes/jobqueue/Job.php
@@
-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
MW
Exception
+ * @throws
InvalidArgument
Exception
* @return Job
*/
public static function factory( $command, Title $title, $params = [] ) {