@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sonata\AdminBundle\Security\Handler\AclSecurityHandlerInterface; |
| 18 | 18 | use Symfony\Component\Form\Form; |
| 19 | 19 | use Symfony\Component\Form\FormInterface; |
| 20 | -use Symfony\Component\Security\Acl\Domain\Acl; |
|
| 21 | 20 | use Symfony\Component\Security\Acl\Model\MutableAclInterface; |
| 22 | 21 | |
| 23 | 22 | /** |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Sonata\AdminBundle\Form\Type\AclMatrixType; |
| 17 | 17 | use Symfony\Component\Form\Extension\Core\Type\FormType; |
| 18 | -use Symfony\Component\Form\Form; |
|
| 19 | 18 | use Symfony\Component\Form\FormBuilderInterface; |
| 20 | 19 | use Symfony\Component\Form\FormFactoryInterface; |
| 21 | 20 | use Symfony\Component\Form\FormInterface; |
@@ -189,6 +189,7 @@ |
||
| 189 | 189 | |
| 190 | 190 | /** |
| 191 | 191 | * NEXT_MAJOR: change signature to `addObjectClassAces(MutableAclInterface $acl, array $roleInformation = []): void`. |
| 192 | + * @param UserSecurityIdentity $securityIdentity |
|
| 192 | 193 | */ |
| 193 | 194 | public function addObjectOwner(AclInterface $acl, ?UserSecurityIdentity $securityIdentity = null) |
| 194 | 195 | { |