@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | * \details Provides a simpler way to initialize a database connection |
| 9 | 9 | * and create a PDO instance. |
| 10 | 10 | * @param $params Parameters for initialize connection. |
| 11 | - * @return True on success. |
|
| 11 | + * @return boolean on success. |
|
| 12 | 12 | */ |
| 13 | 13 | public function connect($params) { |
| 14 | 14 | try { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** \brief Add a user to the database. |
| 68 | 68 | * \details Add a user to the database in Bot::$user_table table and Bot::$id_column column using Bot::$pdo connection. |
| 69 | 69 | * @param $chat_id chat_id of the user to add. |
| 70 | - * @return True on success. |
|
| 70 | + * @return boolean on success. |
|
| 71 | 71 | */ |
| 72 | 72 | public function addUser($chat_id) : bool { |
| 73 | 73 | |