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
/
changes
/
ChangesListFilterGroup.php
diff --git
a/includes/changes/ChangesListFilterGroup.php
b/includes/changes/ChangesListFilterGroup.php
index
79e8e33
..
9d30537
100644
(file)
--- a/
includes/changes/ChangesListFilterGroup.php
+++ b/
includes/changes/ChangesListFilterGroup.php
@@
-322,7
+322,7
@@
abstract class ChangesListFilterGroup {
* @return ChangesListFilter|null Specified filter, or null if it is not registered
*/
public function getFilter( $name ) {
- return
isset( $this->filters[$name] ) ? $this->filters[$name] :
null;
+ return
$this->filters[$name] ??
null;
}
/**