Skip to content

Commit 8cfa7b1

Browse files
committed
Merge branch '7.3' into 7.4
* 7.3: fix missing $ fix: use correct function and parameter name
2 parents 867e62f + 4af1729 commit 8cfa7b1

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
@@ -345,7 +345,7 @@ Then, override one or both of the following methods::
345345

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

0 commit comments

Comments
 (0)