mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Use native union types for TranslationContainer|string
This commit is contained in:
@ -32,10 +32,7 @@ interface CommandSender extends Permissible{
|
||||
|
||||
public function getLanguage() : Language;
|
||||
|
||||
/**
|
||||
* @param TranslationContainer|string $message
|
||||
*/
|
||||
public function sendMessage($message) : void;
|
||||
public function sendMessage(TranslationContainer|string $message) : void;
|
||||
|
||||
public function getServer() : Server;
|
||||
|
||||
|
Reference in New Issue
Block a user