original_string: public function ackAction()
      {
          $json = array();
          $postId = $this->params()->fromQuery('postid', null);
          $response = $this->mattermost->saveReaction($postId, 'ok');
          $json['result'] = $response;
          return new JsonModel($json);
      }
code: public function ackAction()
      {
          $json = array();
          $postId = $this->params()->fromQuery('postid', null);
          $response = $this->mattermost->saveReaction($postId, 'ok');
          $json['result'] = $response;
          return new JsonModel($json);
      }
code_tokens: public function ackAction ( ) { $ json = array ( ) ; $ postId = $ this -> params ( ) -> fromQuery ( 'postid' , null ) ; $ response = $ this -> mattermost -> saveReaction ( $ postId , 'ok' ) ; $ json [ 'result' ] = $ response ; return new JsonModel ( $ json ) ; }
docstring: Post a 'ok' reaction to send an acknowledge
  @return JsonModel
docstring_tokens: Post a ok reaction to send an acknowledge