original_string: protected function get_module_timestamp_max_limit(\DateTimeInterface $starttime, $max) {
          debugging('get_module_timestamp_max_limit() has been deprecated. Please call get_timestamp_max_limit() instead.',
                  DEBUG_DEVELOPER);
          return $this->get_timestamp_max_limit($starttime, $max);
      }
code: protected function get_module_timestamp_max_limit(\DateTimeInterface $starttime, $max) {
          debugging('get_module_timestamp_max_limit() has been deprecated. Please call get_timestamp_max_limit() instead.',
                  DEBUG_DEVELOPER);
          return $this->get_timestamp_max_limit($starttime, $max);
      }
code_tokens: protected function get_module_timestamp_max_limit ( \ DateTimeInterface $ starttime , $ max ) { debugging ( 'get_module_timestamp_max_limit() has been deprecated. Please call get_timestamp_max_limit() instead.' , DEBUG_DEVELOPER ) ; return $ this -> get_timestamp_max_limit ( $ starttime , $ max ) ; }
docstring: Get the correct maximum midnight day limit based on the event start time
  and the module's maximum timestamp limit.
  
  @deprecated since Moodle 3.6. Please use get_timestamp_max_limit().
  @todo final deprecation. To be removed in Moodle 4.0
  @param DateTimeInterface $starttime The event start time
  @param array $max The module's maximum limit for the event
  @return array Returns an array with maxdaytimestamp and maxdayerror keys.
docstring_tokens: Get the correct maximum midnight day limit based on the event start time and the module s maximum timestamp limit .