Use ->toString() over ->name in json serialization of MDGender,
MDLicense This is important for backwards compatibility
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -231,7 +231,7 @@ public function getTledName(MDTlLoader $tlLoader):string {
|
||||
*/
|
||||
public function jsonSerialize():string {
|
||||
|
||||
return $this->name;
|
||||
return $this->toString();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user