original_string: protected function encodeScalar($action_result, ResponseInterface $response, $status = 200)
      {
          return $response->write(json_encode($action_result))->withStatus($status);
      }
code: protected function encodeScalar($action_result, ResponseInterface $response, $status = 200)
      {
          return $response->write(json_encode($action_result))->withStatus($status);
      }
code_tokens: protected function encodeScalar ( $ action_result , ResponseInterface $ response , $ status = 200 ) { return $ response -> write ( json_encode ( $ action_result ) ) -> withStatus ( $ status ) ; }
docstring: Encode scalar value, with status 200.
  
  @param  mixed             $action_result
  @param  ResponseInterface $response
  @param  int               $status
  @return ResponseInterface
docstring_tokens: Encode scalar value with status 200 .