summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php')
-rw-r--r--www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php b/www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php
index d7f40459..0f260f85 100644
--- a/www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php
+++ b/www/wiki/extensions/Translate/tests/phpunit/MockMessageCollectionForExport.php
@@ -4,7 +4,7 @@
* @author Niklas Laxström
* @file
* @copyright Copyright © 2012-2013, Niklas Laxström
- * @license GPL-2.0+
+ * @license GPL-2.0-or-later
*/
/**
@@ -24,15 +24,15 @@ class MockMessageCollectionForExport extends MessageCollection {
$msg = new FatMessage( 'untranslatedmsg', 'definition' );
$this->messages['untranslatedmsg'] = $msg;
- $this->tags = array(
- 'fuzzy' => array( 'fuzzymsg' ),
- );
+ $this->tags = [
+ 'fuzzy' => [ 'fuzzymsg' ],
+ ];
$this->keys = array_flip( array_keys( $this->messages ) );
}
public function getAuthors() {
- return array( 'Nike the bunny' );
+ return [ 'Nike the bunny' ];
}
public function getLanguage() {