mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
TranslationContainer::__construct() accepts float and int too (they can be casted to string)
This commit is contained in:
parent
77795ae3bc
commit
00888fdc55
@ -32,7 +32,7 @@ class TranslationContainer extends TextContainer{
|
||||
|
||||
/**
|
||||
* @param string $text
|
||||
* @param string[] $params
|
||||
* @param (float|int|string)[] $params
|
||||
*/
|
||||
public function __construct(string $text, array $params = []){
|
||||
parent::__construct($text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user