Skip to content

Commit b63ee83

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: fix missing $ fix: use correct function and parameter name
2 parents 27cb9a8 + 44abcda commit b63ee83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Then, override one or both of the following methods::
327327

328328
// this method returns true if the voter applies to the given object class/type;
329329
// if it returns false, Symfony won't call it again for that type of object
330-
public function supportsAttribute(string $attribute): bool
330+
public function supportsType(string $subjectType): bool
331331
{
332332
// you can't use a simple Post::class === $subjectType comparison
333333
// because the subject type might be a Doctrine proxy class

0 commit comments

Comments
 (0)