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
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
includes
/
XmlSelect.php
diff --git
a/includes/XmlSelect.php
b/includes/XmlSelect.php
index
89f2f41
..
5d7406c
100644
(file)
--- a/
includes/XmlSelect.php
+++ b/
includes/XmlSelect.php
@@
-70,11
+70,7
@@
class XmlSelect {
* @return string|null
*/
public function getAttribute( $name ) {
- if ( isset( $this->attributes[$name] ) ) {
- return $this->attributes[$name];
- } else {
- return null;
- }
+ return $this->attributes[$name] ?? null;
}
/**