original_string: public function success(string $id, string $message, int $status = 200)
      {
          Log::info($id . ' : ' . $message);
  
          return response ()->json (['success' => true, 'id' => $id, 'message' => $message], $status);
      }
code: public function success(string $id, string $message, int $status = 200)
      {
          Log::info($id . ' : ' . $message);
  
          return response ()->json (['success' => true, 'id' => $id, 'message' => $message], $status);
      }
code_tokens: public function success ( string $ id , string $ message , int $ status = 200 ) { Log :: info ( $ id . ' : ' . $ message ) ; return response ( ) -> json ( [ 'success' => true , 'id' => $ id , 'message' => $ message ] , $ status ) ; }
docstring: Create success response
  
  @param string $id
  @param string $message
  @param int $status
  @return \Illuminate\Http\JsonResponse
docstring_tokens: Create success response