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.
1 parent c8b6263 commit 2ee7578Copy full SHA for 2ee7578
security/voters.rst
@@ -331,7 +331,7 @@ Then, override one or both of the following methods::
331
332
// this method returns true if the voter applies to the given object class/type;
333
// if it returns false, Symfony won't call it again for that type of object
334
- public function supportsType(string subjectType): bool
+ public function supportsType(string $subjectType): bool
335
{
336
// you can't use a simple Post::class === $subjectType comparison
337
// because the subject type might be a Doctrine proxy class
0 commit comments