Commit 3e73cac7 authored by George Anderson's avatar George Anderson
Browse files

Issue #3281424: Type error in ScheduledMaintenanceSubscriber::checkForScheduledMaintenance().

parent 914f5192
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,10 +69,10 @@ class ScheduledMaintenanceSubscriber implements EventSubscriberInterface {
  /**
   * Checks if a scheduled maintenance should be started.
   *
   * @param \Symfony\Component\HttpKernel\Event\RequestEvent $event
   * @param \Symfony\Component\HttpKernel\Event\GetResponseEvent|\Symfony\Component\HttpKernel\Event\RequestEvent $event
   *   The request event.
   */
  public function checkForScheduledMaintenance(RequestEvent $event) {
  public function checkForScheduledMaintenance($event) {
    // Get maintenance mode state.
    $maintenance_mode = $this->state->get('system.maintenance_mode');