Commit 45c797e3 authored by John Voskuilen's avatar John Voskuilen
Browse files

Issue #3219111: Clean code - cspell

parent 92d8318d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ class OfficeHoursBaseSlot extends FormElementBase {
   *   An optional day_delta.
   *
   * @return string
   *   The formatted and trranslated day label, e.g., 'Tuesday'.
   *   The formatted and translated day label, e.g., 'Tuesday'.
   */
  protected static function formatWeekday(string $pattern, array $value, $day_delta = 0): string {
    $label = '';
+1 −1
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ class OfficeHoursDateHelper extends DateHelper {
   *   (using date_api as key (0=Sun, 6=Sat)), season day or Exception date.
   *
   * @return bool
   *   True if the daynumber is a seasonheader, i.c. 9.
   *   True if the day number is a SeasonHeader, i.c. 9.
   */
  public static function isSeasonHeader($day): bool {
    $result = (intval($day) % OfficeHoursDateHelper::SEASON_ID_FACTOR) == OfficeHoursDateHelper::SEASON_DAY_MIN;