Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 7d54a1a

Browse files
committed
Fixed the phpdoc of the VoterInterface
1 parent d08cfa7 commit 7d54a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Authorization/Voter/VoterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function supportsClass($class);
4949
* ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN.
5050
*
5151
* @param TokenInterface $token A TokenInterface instance
52-
* @param object $object The object to secure
52+
* @param object|null $object The object to secure
5353
* @param array $attributes An array of attributes associated with the method being invoked
5454
*
5555
* @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED

0 commit comments

Comments
 (0)