original_string: public function respondsWithSuccess(string $message, string $redirectTo = '')
      {
          return response()->json([
              'redirectTo' => $redirectTo,
              'callback' => $redirectTo,
              'message' => $message,
              'success' => true,
          ], 200);
      }
code: public function respondsWithSuccess(string $message, string $redirectTo = '')
      {
          return response()->json([
              'redirectTo' => $redirectTo,
              'callback' => $redirectTo,
              'message' => $message,
              'success' => true,
          ], 200);
      }
code_tokens: public function respondsWithSuccess ( string $ message , string $ redirectTo = '' ) { return response ( ) -> json ( [ 'redirectTo' => $ redirectTo , 'callback' => $ redirectTo , 'message' => $ message , 'success' => true , ] , 200 ) ; }
docstring: Return a success JSON response.
  
  @param  string $message
  @param  string $redirectTo
  
  @return JSON
docstring_tokens: Return a success JSON response .