Skip to content

Commit 2ee7578

Browse files
author
Alessandro Podo
committed
fix missing $
1 parent c8b6263 commit 2ee7578

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

332332
// this method returns true if the voter applies to the given object class/type;
333333
// if it returns false, Symfony won't call it again for that type of object
334-
public function supportsType(string subjectType): bool
334+
public function supportsType(string $subjectType): bool
335335
{
336336
// you can't use a simple Post::class === $subjectType comparison
337337
// because the subject type might be a Doctrine proxy class

0 commit comments

Comments
 (0)