diff --git a/src/Appwrite/Realtime/Message/Dispatcher.php b/src/Appwrite/Realtime/Message/Dispatcher.php index 1b29bff617..827588f624 100644 --- a/src/Appwrite/Realtime/Message/Dispatcher.php +++ b/src/Appwrite/Realtime/Message/Dispatcher.php @@ -107,7 +107,7 @@ class Dispatcher if (!$present && !$param['optional']) { throw new Exception( Exception::REALTIME_MESSAGE_FORMAT_INVALID, - \sprintf(self::REQUIRED_PARAM_ERROR_FORMAT, $key), + \sprintf(self::REQUIRED_PARAM_ERROR_FORMAT, \ucfirst($key)), ); }