original_string: public function update($form)
      {
          $models = $this->getFields();
          foreach ($models as $model) {
              $model->save();
          }
      }
code: public function update($form)
      {
          $models = $this->getFields();
          foreach ($models as $model) {
              $model->save();
          }
      }
code_tokens: public function update ( $ form ) { $ models = $ this -> getFields ( ) ; foreach ( $ models as $ model ) { $ model -> save ( ) ; } }
docstring: Update form model
  
  @param Form $form
docstring_tokens: Update form model