Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27127a4

Browse filesBrowse files
committed
bug #39247 [Security] remove return type definition in order to avoid type juggling (adeptofvoltron)
This PR was merged into the 4.4 branch. Discussion ---------- [Security] remove return type definition in order to avoid type juggling | Q | A | ------------- | --- | Branch? |4.4 <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #39205 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch 5.x. --> Everything described with details inrelated ticket Commits ------- 668431f remove return type definition in order to avoid type juggling
2 parents da65c57 + 668431f commit 27127a4
Copy full SHA for 27127a4

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Security/Core/Authorization/Voter/TraceableVoter.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Authorization/Voter/TraceableVoter.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(VoterInterface $voter, EventDispatcherInterface $eve
3939
}
4040
}
4141

42-
public function vote(TokenInterface $token, $subject, array $attributes): int
42+
public function vote(TokenInterface $token, $subject, array $attributes)
4343
{
4444
$result = $this->voter->vote($token, $subject, $attributes);
4545

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.