Fix "cannot be used as a trait" in twig 2.11 (#5566)
Fix "cannot be used as a trait" in twig 2.11 (#5566)


osavchenko/SonataAdminBundle,ARTACK/SonataAdminBundle,peter-gribanov/SonataAdminBundle,sonata-project/SonataAdminBundle,peter-gribanov/SonataAdminBundle,osavchenko/SonataAdminBundle,ARTACK/SonataAdminBundle,osavchenko/SonataAdminBundle,Armstrong1992/SonataAdminBundle,jordisala1991/SonataAdminBundle,greg0ire/SonataAdminBundle,osavchenko/SonataAdminBundle,jordisala1991/SonataAdminBundle,greg0ire/SonataAdminBundle,jordisala1991/SonataAdminBundle,peter-gribanov/SonataAdminBundle,greg0ire/SonataAdminBundle,Armstrong1992/SonataAdminBundle,greg0ire/SonataAdminBundle,osavchenko/SonataAdminBundle,ARTACK/SonataAdminBundle,sonata-project/SonataAdminBundle,ARTACK/SonataAdminBundle,jordisala1991/SonataAdminBundle,peter-gribanov/SonataAdminBundle