src/bbn/appui/menus.php
public function remove_shortcut($id): ?int
  {
    if ( \bbn\str::is_uid($id) ){
      return $this->pref->delete_bit($id);
    }
    return null;
  }
public function remove_shortcut($id): ?int
  {
    if ( \bbn\str::is_uid($id) ){
      return $this->pref->delete_bit($id);
    }
    return null;
  }
public function remove_shortcut ( $ id ) : ? int { if ( \ bbn \ str :: is_uid ( $ id ) ) { return $ this -> pref -> delete_bit ( $ id ) ; } return null ; }
Removes an user'shortcut

@param string $id The shortcut's ID
@return null|int
Removes an user shortcut