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 68b823f

Browse filesBrowse files
committed
minor #29408 [Security] getTargetPath of TargetPathTrait must return string or null (gmponos)
This PR was squashed before being merged into the 3.4 branch (closes #29408). Discussion ---------- [Security] getTargetPath of TargetPathTrait must return string or null | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes (possible bug) | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT Since the return type is string the default return value must be also string. Commits ------- 8d4b787 [Security] getTargetPath of TargetPathTrait must return string or null
2 parents 9c84b14 + 8d4b787 commit 68b823f
Copy full SHA for 68b823f

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Security/Http/Util/TargetPathTrait.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Util/TargetPathTrait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private function saveTargetPath(SessionInterface $session, $providerKey, $uri)
3838
* @param SessionInterface $session
3939
* @param string $providerKey The name of your firewall
4040
*
41-
* @return string
41+
* @return string|null
4242
*/
4343
private function getTargetPath(SessionInterface $session, $providerKey)
4444
{

0 commit comments

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