diff options
Diffstat (limited to 'MLEB/Translate/messagegroups/WikiMessageGroup.php')
-rw-r--r-- | MLEB/Translate/messagegroups/WikiMessageGroup.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MLEB/Translate/messagegroups/WikiMessageGroup.php b/MLEB/Translate/messagegroups/WikiMessageGroup.php index c14ca644..e7b08240 100644 --- a/MLEB/Translate/messagegroups/WikiMessageGroup.php +++ b/MLEB/Translate/messagegroups/WikiMessageGroup.php @@ -6,7 +6,7 @@ * @author Niklas Laxström * @author Siebrand Mazeland * @copyright Copyright © 2008-2013, Niklas Laxström, Siebrand Mazeland - * @license GPL-2.0+ + * @license GPL-2.0-or-later */ /** @@ -19,7 +19,7 @@ * @ingroup MessageGroup */ class WikiMessageGroup extends MessageGroupOld { - protected $source = null; + protected $source; /** * Constructor. @@ -48,12 +48,12 @@ class WikiMessageGroup extends MessageGroupOld { * @return array Array of messages keys with definitions. */ public function getDefinitions() { - $definitions = array(); + $definitions = []; // In theory the page could have templates that are substitued $source = wfMessage( $this->source ); if ( $source->isDisabled() ) { - return array(); + return []; } $contents = $source->text(); |