original_string: public function info($id_chat): ?array
    {
      if ( $this->check() ){
        return $this->db->rselect('bbn_chats', [], ['id' => $id_chat]) ?: null;
      }
      return null;
    }
code: public function info($id_chat): ?array
    {
      if ( $this->check() ){
        return $this->db->rselect('bbn_chats', [], ['id' => $id_chat]) ?: null;
      }
      return null;
    }
code_tokens: public function info ( $ id_chat ) : ? array { if ( $ this -> check ( ) ) { return $ this -> db -> rselect ( 'bbn_chats' , [ ] , [ 'id' => $ id_chat ] ) ? : null ; } return null ; }
docstring: Gets information about the given chat.
  
  @param $id_chat
  @return array|null
docstring_tokens: Gets information about the given chat .