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
Merge "Add docstrings for text search index field types"
[lhc/web/wiklou.git]
/
includes
/
parser
/
DateFormatter.php
diff --git
a/includes/parser/DateFormatter.php
b/includes/parser/DateFormatter.php
index
de02861
..
fb79442
100644
(file)
--- a/
includes/parser/DateFormatter.php
+++ b/
includes/parser/DateFormatter.php
@@
-213,10
+213,7
@@
class DateFormatter {
*/
private function replace( $matches ) {
# Extract information from $matches
- $linked = true;
- if ( isset( $this->mLinked ) ) {
- $linked = $this->mLinked;
- }
+ $linked = $this->mLinked ?? true;
$bits = [];
$key = $this->keys[$this->mSource];