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 27cb9a8 + 44abcda commit b63ee83Copy full SHA for b63ee83
security/voters.rst
@@ -327,7 +327,7 @@ Then, override one or both of the following methods::
327
328
// this method returns true if the voter applies to the given object class/type;
329
// if it returns false, Symfony won't call it again for that type of object
330
- public function supportsAttribute(string $attribute): bool
+ public function supportsType(string $subjectType): bool
331
{
332
// you can't use a simple Post::class === $subjectType comparison
333
// because the subject type might be a Doctrine proxy class
0 commit comments