From 8d4b787dd96e632d44f2f3cf61600aa64cbbac0b Mon Sep 17 00:00:00 2001 From: Mponos George Date: Sat, 1 Dec 2018 18:23:06 +0200 Subject: [PATCH] [Security] getTargetPath of TargetPathTrait must return string or null --- src/Symfony/Component/Security/Http/Util/TargetPathTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Http/Util/TargetPathTrait.php b/src/Symfony/Component/Security/Http/Util/TargetPathTrait.php index 986adb0c5830..87ff333e05f6 100644 --- a/src/Symfony/Component/Security/Http/Util/TargetPathTrait.php +++ b/src/Symfony/Component/Security/Http/Util/TargetPathTrait.php @@ -38,7 +38,7 @@ private function saveTargetPath(SessionInterface $session, $providerKey, $uri) * @param SessionInterface $session * @param string $providerKey The name of your firewall * - * @return string + * @return string|null */ private function getTargetPath(SessionInterface $session, $providerKey) {