summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/src/Synchronization/MessageUpdateParameter.php')
-rw-r--r--MLEB/Translate/src/Synchronization/MessageUpdateParameter.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/MLEB/Translate/src/Synchronization/MessageUpdateParameter.php b/MLEB/Translate/src/Synchronization/MessageUpdateParameter.php
index 6874caef..d5d4d516 100644
--- a/MLEB/Translate/src/Synchronization/MessageUpdateParameter.php
+++ b/MLEB/Translate/src/Synchronization/MessageUpdateParameter.php
@@ -41,7 +41,7 @@ class MessageUpdateParameter implements JsonSerializable, JsonUnserializable {
}
public function isRename(): bool {
- return boolval( $this->rename );
+ return $this->rename;
}
public function getReplacementValue(): string {
@@ -96,5 +96,3 @@ class MessageUpdateParameter implements JsonSerializable, JsonUnserializable {
return new self( $jobParams );
}
}
-
-class_alias( MessageUpdateParameter::class, '\MediaWiki\Extensions\Translate\MessageUpdateParameter' );