src/bbn/user/permissions.php
public function remove($id_option, string $type = 'page'): ?int
  {
    if ( $id_option = $this->_get_id_option($id_option, $type) ){
      return $this->pref->delete($id_option);
    }
    return null;
  }
public function remove($id_option, string $type = 'page'): ?int
  {
    if ( $id_option = $this->_get_id_option($id_option, $type) ){
      return $this->pref->delete($id_option);
    }
    return null;
  }
public function remove ( $ id_option , string $ type = 'page' ) : ? int { if ( $ id_option = $ this -> _get_id_option ( $ id_option , $ type ) ) { return $ this -> pref -> delete ( $ id_option ) ; } return null ; }
Deletes a preference for a path or an ID.

@param null|string $id_option
@param string $type
@return null|int
Deletes a preference for a path or an ID .