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
/
watcheditem
/
WatchedItemQueryService.php
diff --git
a/includes/watcheditem/WatchedItemQueryService.php
b/includes/watcheditem/WatchedItemQueryService.php
index
deb1f28
..
17d9b91
100644
(file)
--- a/
includes/watcheditem/WatchedItemQueryService.php
+++ b/
includes/watcheditem/WatchedItemQueryService.php
@@
-220,7
+220,7
@@
class WatchedItemQueryService {
$joinConds
);
- $limit =
isset( $dbOptions['LIMIT'] ) ? $dbOptions['LIMIT'] :
INF;
+ $limit =
$dbOptions['LIMIT'] ??
INF;
$items = [];
$startFrom = null;
foreach ( $res as $row ) {