original_string: public static function easterDays($year, $method)
      {
          if ($method == CAL_EASTER_ALWAYS_JULIAN ||
              $method == CAL_EASTER_ROMAN && $year <= 1582 ||
              $year <= 1752 && $method != CAL_EASTER_ROMAN && $method != CAL_EASTER_ALWAYS_GREGORIAN
          ) {
              return self::$julian_calendar->easterDays($year);
          } else {
              return self::$gregorian_calendar->easterDays($year);
          }
      }
code: public static function easterDays($year, $method)
      {
          if ($method == CAL_EASTER_ALWAYS_JULIAN ||
              $method == CAL_EASTER_ROMAN && $year <= 1582 ||
              $year <= 1752 && $method != CAL_EASTER_ROMAN && $method != CAL_EASTER_ALWAYS_GREGORIAN
          ) {
              return self::$julian_calendar->easterDays($year);
          } else {
              return self::$gregorian_calendar->easterDays($year);
          }
      }
code_tokens: public static function easterDays ( $ year , $ method ) { if ( $ method == CAL_EASTER_ALWAYS_JULIAN || $ method == CAL_EASTER_ROMAN && $ year <= 1582 || $ year <= 1752 && $ method != CAL_EASTER_ROMAN && $ method != CAL_EASTER_ALWAYS_GREGORIAN ) { return self :: $ julian_calendar -> easterDays ( $ year ) ; } else { return self :: $ gregorian_calendar -> easterDays ( $ year ) ; } }
docstring: Get number of days after March 21 on which Easter falls for a given year.
  
  Shim implementation of easter_days()
  
  @link https://php.net/easter_days
  
  @param int $year
  @param int $method Use the Julian or Gregorian calendar
  
  @return int
docstring_tokens: Get number of days after March 21 on which Easter falls for a given year .