From bd47852ca42169f02779d38bcda5db4bdeae47a6 Mon Sep 17 00:00:00 2001 From: TheNewHEROBRINEX Date: Sat, 24 Feb 2018 10:15:27 -0800 Subject: [PATCH] Allow Command::getPermissionMessage() to return null (#2057) --- src/pocketmine/command/Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/command/Command.php b/src/pocketmine/command/Command.php index 4f2a509929..0e87ff57b3 100644 --- a/src/pocketmine/command/Command.php +++ b/src/pocketmine/command/Command.php @@ -234,9 +234,9 @@ abstract class Command{ } /** - * @return string + * @return string|null */ - public function getPermissionMessage() : string{ + public function getPermissionMessage() : ?string{ return $this->permissionMessage; }