[FIX] use AuthorizationHelperInterface instead of implementation in PickCenterType

This commit is contained in:
2022-09-09 18:36:13 +02:00
parent 38cb1fe357
commit 524123c701
2 changed files with 13 additions and 31 deletions

View File

@@ -81,12 +81,8 @@ services:
chill.main.form.pick_centers_type:
class: Chill\MainBundle\Form\Type\Export\PickCenterType
arguments:
- "@security.token_storage"
- '@Chill\MainBundle\Export\ExportManager'
- "@chill.main.security.authorization.helper"
tags:
- { name: form.type }
autowire: true
autoconfigure: true
chill.main.form.formatter_type:
class: Chill\MainBundle\Form\Type\Export\FormatterType