Commit 4ad90c93 authored by John Voskuilen's avatar John Voskuilen
Browse files

Issue #3219111: start using static::class

parent c3eb6e51
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ class OfficeHoursFormatterDefault extends OfficeHoursFormatterBase {
  public function settingsSummary() {
    $summary = parent::settingsSummary();

    if (get_class($this) == __CLASS__) {
    if (static::class === __CLASS__) {
      // Avoids message when class overridden. Parent repeats it when needed.
      $summary[] = '(When using multiple slots per day, better use the table formatter.)';
    }