mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
TranslationContainer: remove __toString()
it doesn't make any sense to use TranslationContainer in this way.
This commit is contained in:
parent
1170c8fe13
commit
83332024df
@ -58,8 +58,4 @@ final class TranslationContainer{
|
||||
public function getParameter(int $i) : ?string{
|
||||
return $this->params[$i] ?? null;
|
||||
}
|
||||
|
||||
public function __toString() : string{
|
||||
return $this->getText();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user