Commit e6b6dd34 authored by Muneeb Mukhtar's avatar Muneeb Mukhtar Committed by Sascha Grossenbacher
Browse files

Issue #3382275 by MukhtarM: Warning on unit testing

parent db201633
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ class RedirectRequestSubscriber implements EventSubscriberInterface {
  /**
   * {@inheritdoc}
   */
  public static function getSubscribedEvents() {
  public static function getSubscribedEvents(): array {
    // This needs to run before RouterListener::onKernelRequest(), which has
    // a priority of 32. Otherwise, that aborts the request if no matching
    // route is found.