Skip to content

Commit 29e8fb4

Browse files
Explain status codes in comments
1 parent 96fee56 commit 29e8fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(UrlGeneratorInterface $urlGenerator = null, UrlMatch
4949
* Creates a redirect Response.
5050
*
5151
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
52-
* @param int $status The status code
52+
* @param int $status The HTTP status code (302 "Found" by default)
5353
*/
5454
public function createRedirectResponse(Request $request, string $path, int $status = 302): RedirectResponse
5555
{

0 commit comments

Comments
 (0)