original_string: public function remove(string $type, int $index)
      {
          if (isset($this->values[$type][$index])) {
              unset($this->values[$type][$index]);
  
              --$this->valuesCount;
          }
  
          return $this;
      }
code: public function remove(string $type, int $index)
      {
          if (isset($this->values[$type][$index])) {
              unset($this->values[$type][$index]);
  
              --$this->valuesCount;
          }
  
          return $this;
      }
code_tokens: public function remove ( string $ type , int $ index ) { if ( isset ( $ this -> values [ $ type ] [ $ index ] ) ) { unset ( $ this -> values [ $ type ] [ $ index ] ) ; -- $ this -> valuesCount ; } return $ this ; }
docstring: Remove a value by type and index.
  
  @return ValuesBag New ValuesBag object with the referenced values removed
docstring_tokens: Remove a value by type and index .