Skip to content

Commit

Permalink
Update src/Symfony/Component/HttpFoundation/Response.php
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Chalas <chalasr@users.noreply.github.com>
  • Loading branch information
dunglas and chalasr committed Nov 17, 2022
1 parent 8a20b16 commit 2eca954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function prepare(Request $request): static
*
* @return $this
*/
public function sendHeaders(): static
public function sendHeaders(/* ?int $statusCode = null */): static
{
if (1 > \func_num_args()) {
trigger_deprecation('symfony/http-foundation', '6.2', 'Calling "%s()" without any arguments is deprecated, pass null explicitly instead.', __METHOD__);
Expand Down

0 comments on commit 2eca954

Please sign in to comment.