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
/
libs
/
filebackend
/
fileop
/
FileOp.php
diff --git
a/includes/libs/filebackend/fileop/FileOp.php
b/includes/libs/filebackend/fileop/FileOp.php
index
40af7ac
..
2119289
100644
(file)
--- a/
includes/libs/filebackend/fileop/FileOp.php
+++ b/
includes/libs/filebackend/fileop/FileOp.php
@@
-137,7
+137,7
@@
abstract class FileOp {
* @return mixed Returns null if the parameter is not set
*/
final public function getParam( $name ) {
- return
isset( $this->params[$name] ) ? $this->params[$name] :
null;
+ return
$this->params[$name] ??
null;
}
/**