TranslationContainer: remove __toString()

it doesn't make any sense to use TranslationContainer in this way.
This commit is contained in:
Dylan K. Taylor 2021-06-29 20:07:39 +01:00
parent 1170c8fe13
commit 83332024df
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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();
}
}