public function delete_user_option(string $id_option, string $id_user = null): ?int
  {
    if ( $id_option = $this->_get_id_option($id_option) ){
      return $this->db->delete($this->class_cfg['table'], [
        $this->fields['id_option'] => $id_option,
        $this->fields['id_user'] => $id_user ?: $this->id_user
      ]);
    }
    return null;
  }
public function delete_user_option(string $id_option, string $id_user = null): ?int
  {
    if ( $id_option = $this->_get_id_option($id_option) ){
      return $this->db->delete($this->class_cfg['table'], [
        $this->fields['id_option'] => $id_option,
        $this->fields['id_user'] => $id_user ?: $this->id_user
      ]);
    }
    return null;
  }
public function delete_user_option ( string $ id_option , string $ id_user = null ) : ? int { if ( $ id_option = $ this -> _get_id_option ( $ id_option ) ) { return $ this -> db -> delete ( $ this -> class_cfg [ 'table' ] , [ $ this -> fields [ 'id_option' ] => $ id_option , $ this -> fields [ 'id_user' ] => $ id_user ? : $ this -> id_user ] ) ; } return null ; }
Deletes all the given or current user's permissions for the given option

@param null|string $id_option
@param null|string $id_user
@return null|int
Deletes all the given or current user s permissions for the given option