original_string: public function actionDeleteImage(): Response
      {
          $model = $this->findModel($this->attachmentModelClass, Yii::$app->request->post('id'));
  
          $model->delete();
  
          return $this->asJson([
              'status' => 'success',
          ]);
      }
code: public function actionDeleteImage(): Response
      {
          $model = $this->findModel($this->attachmentModelClass, Yii::$app->request->post('id'));
  
          $model->delete();
  
          return $this->asJson([
              'status' => 'success',
          ]);
      }
code_tokens: public function actionDeleteImage ( ) : Response { $ model = $ this -> findModel ( $ this -> attachmentModelClass , Yii :: $ app -> request -> post ( 'id' ) ) ; $ model -> delete ( ) ; return $ this -> asJson ( [ 'status' => 'success' , ] ) ; }
docstring: Delete the image
  
  @return Response
  
  @throws UnprocessableEntityHttpException
docstring_tokens: Delete the image