summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/ttmserver/FakeTTMServer.php')
-rw-r--r--MLEB/Translate/ttmserver/FakeTTMServer.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/MLEB/Translate/ttmserver/FakeTTMServer.php b/MLEB/Translate/ttmserver/FakeTTMServer.php
index 15f8d377..16715592 100644
--- a/MLEB/Translate/ttmserver/FakeTTMServer.php
+++ b/MLEB/Translate/ttmserver/FakeTTMServer.php
@@ -5,7 +5,7 @@
* @file
* @author Niklas Laxström
* @copyright Copyright © 2012-2013, Niklas Laxström
- * @license GPL-2.0+
+ * @license GPL-2.0-or-later
* @ingroup TTMServer
*/
@@ -18,7 +18,7 @@
*/
class FakeTTMServer implements ReadableTTMServer, WritableTTMServer {
public function query( $sourceLanguage, $targetLanguage, $text ) {
- return array();
+ return [];
}
public function isLocalSuggestion( array $suggestion ) {
@@ -49,4 +49,12 @@ class FakeTTMServer implements ReadableTTMServer, WritableTTMServer {
public function endBootstrap() {
}
+
+ public function getMirrors() {
+ return [];
+ }
+
+ public function isFrozen() {
+ return false;
+ }
}