Skip to content

Commit 0a1bb08

Browse files
committed
IResponse::setCode() added $reason [Closes #148]
1 parent 27d37f7 commit 0a1bb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/IResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ interface IResponse
8888
* Sets HTTP response code.
8989
* @return static
9090
*/
91-
function setCode(int $code);
91+
function setCode(int $code, string $reason = null);
9292

9393
/**
9494
* Returns HTTP response code.

0 commit comments

Comments
 (0)