original_string: public function removeById($id)
      {
          if (isset($this->ids[$id])) {
              foreach ($this->ids[$id] as $alias) {
                  unset($this->aliases[$alias]);
              }
              unset($this->ids[$id]);
          }
  
          return $this;
      }
code: public function removeById($id)
      {
          if (isset($this->ids[$id])) {
              foreach ($this->ids[$id] as $alias) {
                  unset($this->aliases[$alias]);
              }
              unset($this->ids[$id]);
          }
  
          return $this;
      }
code_tokens: public function removeById ( $ id ) { if ( isset ( $ this -> ids [ $ id ] ) ) { foreach ( $ this -> ids [ $ id ] as $ alias ) { unset ( $ this -> aliases [ $ alias ] ) ; } unset ( $ this -> ids [ $ id ] ) ; } return $ this ; }
docstring: Removes all aliases for the specified item
  
  @param string $id The identifier of item which aliases should be removed
  
  @return self
docstring_tokens: Removes all aliases for the specified item