original_string: public function update(array $collection){
          foreach($collection as $key => $value){
              $this->collection[$key] = $value;
          }
          return $this;
      }
code: public function update(array $collection){
          foreach($collection as $key => $value){
              $this->collection[$key] = $value;
          }
          return $this;
      }
code_tokens: public function update ( array $ collection ) { foreach ( $ collection as $ key => $ value ) { $ this -> collection [ $ key ] = $ value ; } return $ this ; }
docstring: Update and append to Collection array
  @param array $collection
  @return self
docstring_tokens: Update and append to Collection array