Symfonys addCollection() with multiple arguments is deprecated, fix deprecation warning
Merge pull request #6219 from leo-b/fix_router_deprecation

Symfonys addCollection() with multiple arguments is deprecated

* leo-b/fix_router_deprecation:
  Symfonys addCollection() with multiple arguments is deprecated, fix deprecation warning