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
Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
utils
/
BacklinkJobUtils.php
diff --git
a/includes/jobqueue/utils/BacklinkJobUtils.php
b/includes/jobqueue/utils/BacklinkJobUtils.php
index
76f8d6d
..
bf27e9c
100644
(file)
--- a/
includes/jobqueue/utils/BacklinkJobUtils.php
+++ b/
includes/jobqueue/utils/BacklinkJobUtils.php
@@
-103,7
+103,7
@@
class BacklinkJobUtils {
$realBSize = $bSize;
}
- $extraParams =
isset( $opts['params'] ) ? $opts['params'] :
[];
+ $extraParams =
$opts['params'] ??
[];
$jobs = [];
// Combine the first range (of size $bSize) backlinks into leaf jobs