Skip to content

Commit 869454f

Browse files
committed
docs: fix @param
1 parent 7a8144b commit 869454f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/ResponseTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,8 @@ public function sendBody()
494494
/**
495495
* Perform a redirect to a new URL, in two flavors: header or location.
496496
*
497-
* @param string $uri The URI to redirect to
498-
* @param int $code The type of redirection, defaults to 302
497+
* @param string $uri The URI to redirect to
498+
* @param int|null $code The type of redirection, defaults to 302
499499
*
500500
* @return $this
501501
*

0 commit comments

Comments
 (0)