Skip to content

Commit 65edf9e

Browse files
committed
Fix Request::getUserInfo() return type
1 parent 897d2c9 commit 65edf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ public function getPassword()
957957
/**
958958
* Gets the user info.
959959
*
960-
* @return string A user name and, optionally, scheme-specific information about how to gain authorization to access the server
960+
* @return string|null A user name if any and, optionally, scheme-specific information about how to gain authorization to access the server
961961
*/
962962
public function getUserInfo()
963963
{

0 commit comments

Comments
 (0)