From f1bf0289495eea367e0ee28e5223cc03db2abb3e Mon Sep 17 00:00:00 2001 From: Miteruzo Date: Fri, 30 Jun 2023 22:05:44 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/chat.mod.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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