original_string: public function get_shared(string $id): ?array
    {
      if ( bbn\str::is_uid($id) ){
        return $this->db->rselect_all($this->class_table, [
          $this->fields['id'],
          $this->fields['id_user'],
          $this->fields['id_group']
        ], [
          $this->fields['id_alias'] => $id
        ]);
      }
      return null;
    }
code: public function get_shared(string $id): ?array
    {
      if ( bbn\str::is_uid($id) ){
        return $this->db->rselect_all($this->class_table, [
          $this->fields['id'],
          $this->fields['id_user'],
          $this->fields['id_group']
        ], [
          $this->fields['id_alias'] => $id
        ]);
      }
      return null;
    }
code_tokens: public function get_shared ( string $ id ) : ? array { if ( bbn \ str :: is_uid ( $ id ) ) { return $ this -> db -> rselect_all ( $ this -> class_table , [ $ this -> fields [ 'id' ] , $ this -> fields [ 'id_user' ] , $ this -> fields [ 'id_group' ] ] , [ $ this -> fields [ 'id_alias' ] => $ id ] ) ; } return null ; }
docstring: Returns an array
  
  @param string $id
  @return array|null
docstring_tokens: Returns an array