original_string: public function deletePagination($request, $format, $result)
      {
          $parameters = $request->getParameters();
  
          if (isset($result->pagination)) {
              $result_pagination_total_result = $result->pagination->total_result;
          } else {
              $result_pagination_total_result = 0;
          }
  
          if (gettype($parameters) === 'string') {
              $parameters .= '&count='.$result_pagination_total_result;
          }
          if (gettype($parameters) === 'array') {
              $parameters['count'] = $result_pagination_total_result;
          }
          $request->setParameters($parameters);
          return $this->callApi($request, $format);
      }
code: public function deletePagination($request, $format, $result)
      {
          $parameters = $request->getParameters();
  
          if (isset($result->pagination)) {
              $result_pagination_total_result = $result->pagination->total_result;
          } else {
              $result_pagination_total_result = 0;
          }
  
          if (gettype($parameters) === 'string') {
              $parameters .= '&count='.$result_pagination_total_result;
          }
          if (gettype($parameters) === 'array') {
              $parameters['count'] = $result_pagination_total_result;
          }
          $request->setParameters($parameters);
          return $this->callApi($request, $format);
      }
code_tokens: public function deletePagination ( $ request , $ format , $ result ) { $ parameters = $ request -> getParameters ( ) ; if ( isset ( $ result -> pagination ) ) { $ result_pagination_total_result = $ result -> pagination -> total_result ; } else { $ result_pagination_total_result = 0 ; } if ( gettype ( $ parameters ) === 'string' ) { $ parameters .= '&count=' . $ result_pagination_total_result ; } if ( gettype ( $ parameters ) === 'array' ) { $ parameters [ 'count' ] = $ result_pagination_total_result ; } $ request -> setParameters ( $ parameters ) ; return $ this -> callApi ( $ request , $ format ) ; }
docstring: Function to delete Navitia pagination
  Retrieve the result count and call again with count
  @param NavitiaRequestInterface $request
  @param string $format
  @param mixed $result
  @return mixed
docstring_tokens: Function to delete Navitia pagination Retrieve the result count and call again with count