original_string: public function actionDelete($id)
      {
          $date = new DateTime('now');
          $model = $this->findModel($id);
          $model->deleted_at = $date->format("U");
          $model->save();
  
          return $this->redirect(['index']);
      }
code: public function actionDelete($id)
      {
          $date = new DateTime('now');
          $model = $this->findModel($id);
          $model->deleted_at = $date->format("U");
          $model->save();
  
          return $this->redirect(['index']);
      }
code_tokens: public function actionDelete ( $ id ) { $ date = new DateTime ( 'now' ) ; $ model = $ this -> findModel ( $ id ) ; $ model -> deleted_at = $ date -> format ( "U" ) ; $ model -> save ( ) ; return $ this -> redirect ( [ 'index' ] ) ; }
docstring: Deletes an existing Address model.
  If deletion is successful, the browser will be redirected to the 'index' page.
  @param integer $id
  @return mixed
docstring_tokens: Deletes an existing Address model . If deletion is successful the browser will be redirected to the index page .