Symfonys addCollection() with multiple arguments is deprecated

fix deprecation warning