8000 merged branch richsage/voterinterface-docblock-type (PR #8117) · symfony/symfony@e789a02 · GitHub
[go: up one dir, main page]

Skip to content

Commit e789a02

Browse files
committed
merged branch richsage/voterinterface-docblock-type (PR #8117)
This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #8117). Discussion ---------- [Security] Added type of return value in VoterInterface. | Q | A | ------------- | --- | Fixed tickets | none | License | MIT Simple addition of the return type for the `supportsClass` method, as per the `supportsAttribute` method doc in the interface. Commits ------- c176d1e [Security] Added type of return value in VoterInterface.
2 parents e980204 + 97b38ed commit e789a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/Authorization/Voter/VoterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function supportsAttribute($attribute);
3838
*
3939
* @param string $class A class name
4040
*
41-
* @return true if this Voter can process the class
41+
* @return Boolean true if this Voter can process the class
4242
*/
4343
public function supportsClass($class);
4444

0 commit comments

Comments
 (0)
0