original_string: public function removeMethodCall($method)
      {
          foreach ($this->calls as $i => $call) {
              if ($call[0] === $method) {
                  unset($this->calls[$i]);
                  break;
              }
          }
  
          return $this;
      }
code: public function removeMethodCall($method)
      {
          foreach ($this->calls as $i => $call) {
              if ($call[0] === $method) {
                  unset($this->calls[$i]);
                  break;
              }
          }
  
          return $this;
      }
code_tokens: public function removeMethodCall ( $ method ) { foreach ( $ this -> calls as $ i => $ call ) { if ( $ call [ 0 ] === $ method ) { unset ( $ this -> calls [ $ i ] ) ; break ; } } return $ this ; }
docstring: Removes a method to call after service initialization.
  
  @param string $method The method name to remove
  
  @return $this
docstring_tokens: Removes a method to call after service initialization .