Skip to content

Commit 8d4fa12

Browse files
Do not use generic
1 parent bc3e144 commit 8d4fa12

File tree

3 files changed

+2
-27
lines changed

3 files changed

+2
-27
lines changed

extension.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ parameters:
44
constant_hassers: true
55
console_application_loader: null
66
stubFiles:
7-
- stubs/AclProviderInterface.stub
87
- stubs/ChoiceLoaderInterface.stub
98
- stubs/Constraint.stub
109
- stubs/ContainerBuilder.stub

stubs/AclProviderInterface.stub

Lines changed: 0 additions & 21 deletions
This file was deleted.

stubs/MutableAclProviderInterface.stub

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,15 @@ namespace Symfony\Component\Security\Acl\Model;
44

55
use Symfony\Component\Security\Acl\Model\MutableAclInterface;
66

7-
/**
8-
* @extends AclProviderInterface<MutableAclInterface>
9-
*/
107
interface MutableAclProviderInterface extends AclProviderInterface
118
{
129
/**
13-
* @phpstan-return TAcl
10+
* @phpstan-return MutableAclInterface
1411
*/
1512
public function findAcl(ObjectIdentityInterface $oid, array $sids = []);
1613

1714
/**
18-
* @phpstan-return \SplObjectStorage<ObjectIdentityInterface, TAcl>
15+
* @phpstan-return \SplObjectStorage<ObjectIdentityInterface, MutableAclInterface>
1916
*/
2017
public function findAcls(array $oids, array $sids = []);
2118
}

0 commit comments

Comments
 (0)