File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -331,7 +331,7 @@ Then, override one or both of the following methods::
|
331 | 331 |
|
332 | 332 | // this method returns true if the voter applies to the given object class/type;
|
333 | 333 | // if it returns false, Symfony won't call it again for that type of object
|
334 |
| -public function supportsAttribute(string $attribute): bool |
| 334 | +public function supportsType(string $subjectType): bool |
335 | 335 | {
|
336 | 336 | // you can't use a simple Post::class === $subjectType comparison
|
337 | 337 | // because the subject type might be a Doctrine proxy class
|
|
You can’t perform that action at this time.
0 commit comments