We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9563f5 + 8cfa7b1 commit aa3d0c3Copy full SHA for aa3d0c3
security/voters.rst
@@ -345,7 +345,7 @@ Then, override one or both of the following methods::
345
346
// this method returns true if the voter applies to the given object class/type;
347
// if it returns false, Symfony won't call it again for that type of object
348
- public function supportsAttribute(string $attribute): bool
+ public function supportsType(string $subjectType): bool
349
{
350
// you can't use a simple Post::class === $subjectType comparison
351
// because the subject type might be a Doctrine proxy class
0 commit comments