Skip to content

Commit b8ab923

Browse 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 ------- 8d4b787dd9 [Security] getTargetPath of TargetPathTrait must return string or null
2 parents f8ea4e3 + f587ba3 commit b8ab923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Util/TargetPathTrait.php

Lines 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)