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
/
htmlform
/
fields
/
HTMLSizeFilterField.php
diff --git
a/includes/htmlform/fields/HTMLSizeFilterField.php
b/includes/htmlform/fields/HTMLSizeFilterField.php
index
145a0ec
..
bd96d3c
100644
(file)
--- a/
includes/htmlform/fields/HTMLSizeFilterField.php
+++ b/
includes/htmlform/fields/HTMLSizeFilterField.php
@@
-10,7
+10,7
@@
*/
class HTMLSizeFilterField extends HTMLIntField {
public function getSize() {
- return
isset( $this->mParams['size'] ) ? $this->mParams['size'] :
9;
+ return
$this->mParams['size'] ??
9;
}
public function getInputHTML( $value ) {