Allow Command::getPermissionMessage() to return null (#2057)

This commit is contained in:
TheNewHEROBRINEX 2018-02-24 10:15:27 -08:00 committed by Dylan K. Taylor
parent 2b036b1a5c
commit bd47852ca4

View File

@ -234,9 +234,9 @@ abstract class Command{
} }
/** /**
* @return string * @return string|null
*/ */
public function getPermissionMessage() : string{ public function getPermissionMessage() : ?string{
return $this->permissionMessage; return $this->permissionMessage;
} }