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 a5079a5

Browse filesBrowse files
authored
Update the docblock instead returning empty string
1 parent 3b4e038 commit a5079a5
Copy full SHA for a5079a5

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
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
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ 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
{
45-
return $session->get('_security.'.$providerKey.'.target_path', '');
45+
return $session->get('_security.'.$providerKey.'.target_path');
4646
}
4747

4848
/**

0 commit comments

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