dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove JSONContentHandler::$contentClass"
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
JobSpecification.php
diff --git
a/includes/jobqueue/JobSpecification.php
b/includes/jobqueue/JobSpecification.php
index
e074e5c
..
9fa7747
100644
(file)
--- a/
includes/jobqueue/JobSpecification.php
+++ b/
includes/jobqueue/JobSpecification.php
@@
-119,7
+119,7
@@
class JobSpecification implements IJobSpecification {
if ( is_array( $v ) ) {
$this->validateParams( $v );
} elseif ( !is_scalar( $v ) && $v !== null ) {
if ( is_array( $v ) ) {
$this->validateParams( $v );
} elseif ( !is_scalar( $v ) && $v !== null ) {
- throw new UnexpectedValueException(
'Job parameters are not JSON serializable.'
);
+ throw new UnexpectedValueException(
"Job parameter $p is not JSON serializable."
);
}
}
}
}
}
}