File tree 5 files changed +41
-4
lines changed
stubs/Symfony/Component/Security/Acl
5 files changed +41
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ parameters:
26
26
- stubs/Symfony/Component/HttpFoundation/Session.stub
27
27
- stubs/Symfony/Component/Process/Process.stub
28
28
- stubs/Symfony/Component/PropertyAccess/PropertyPathInterface.stub
29
+ - stubs/Symfony/Component/Security/Acl/Dbal/AclProvider.stub
30
+ - stubs/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.stub
29
31
- stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub
30
32
- stubs/Symfony/Component/Security/Acl/Model/AclProviderInterface.stub
31
33
- stubs/Symfony/Component/Security/Acl/Model/EntryInterface.stub
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Security\Acl\Dbal;
4
+
5
+ use Symfony\Component\Security\Acl\Model\AclInterface;
6
+ use Symfony\Component\Security\Acl\Model\AclProviderInterface;
7
+
8
+ /**
9
+ * @implements AclProviderInterface<AclInterface>
10
+ */
11
+ class AclProvider implements AclProviderInterface
12
+ {
13
+
14
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Security\Acl\Dbal;
4
+
5
+ use Symfony\Component\Security\Acl\Model\MutableAclInterface;
6
+ use Symfony\Component\Security\Acl\Model\MutableAclProviderInterface;
7
+
8
+ /**
9
+ * @implements MutableAclProviderInterface<MutableAclInterface>
10
+ */
11
+ class MutableAclProvider implements MutableAclProviderInterface
12
+ {
13
+
14
+ }
Original file line number Diff line number Diff line change 2
2
3
3
namespace Symfony\Component\Security\Acl\Model;
4
4
5
+ /**
6
+ * @template TAcl of AclInterface
7
+ */
5
8
interface AclProviderInterface
6
9
{
7
10
/**
8
11
* @phpstan-param array<SecurityIdentityInterface> $sids
9
- * @phpstan-return AclInterface
12
+ * @phpstan-return TAcl
10
13
*/
11
14
public function findAcl(ObjectIdentityInterface $oid, array $sids = []);
12
15
13
16
/**
14
17
* @phpstan-param array<ObjectIdentityInterface> $oids
15
18
* @phpstan-param array<SecurityIdentityInterface> $sids
16
- * @phpstan-return \SplObjectStorage<ObjectIdentityInterface, AclInterface >
19
+ * @phpstan-return \SplObjectStorage<ObjectIdentityInterface, TAcl >
17
20
*/
18
21
public function findAcls(array $oids, array $sids = []);
19
22
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Symfony\Component\Security\Acl\Model;
4
4
5
+ /**
6
+ * @template TAcl of MutableAclInterface
7
+ * @extends AclProviderInterface<TAcl>
8
+ */
5
9
interface MutableAclProviderInterface extends AclProviderInterface
6
10
{
7
11
/**
8
12
* @phpstan-param array<SecurityIdentityInterface> $sids
9
- * @phpstan-return MutableAclInterface
13
+ * @phpstan-return TAcl
10
14
*/
11
15
public function findAcl(ObjectIdentityInterface $oid, array $sids = []);
12
16
13
17
/**
14
18
* @phpstan-param array<ObjectIdentityInterface> $oids
15
19
* @phpstan-param array<SecurityIdentityInterface> $sids
16
- * @phpstan-return \SplObjectStorage<ObjectIdentityInterface, MutableAclInterface >
20
+ * @phpstan-return \SplObjectStorage<ObjectIdentityInterface, TAcl >
17
21
*/
18
22
public function findAcls(array $oids, array $sids = []);
19
23
}
You can’t perform that action at this time.
0 commit comments