diff --git a/modules/chat.mod.php b/modules/chat.mod.php index ff0520c..000c296 100644 --- a/modules/chat.mod.php +++ b/modules/chat.mod.php @@ -6,8 +6,7 @@ Chat private $db; function - __construct (): - void + __construct () { $config = include (__DIR__ . '/config.php'); @@ -21,7 +20,7 @@ Chat } function - send_chat ( + send ( int $user_id, string $text): void