Skip to content

Commit fec3580

Browse files
committed
Small change in functions
1 parent e376581 commit fec3580

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/AdapterFunctions.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @link https://php.net/manual/en/function.header.php
99
*/
10-
function header(string $content, bool $replace = true, int $http_response_code = null): void
10+
function header(string $content, bool $replace = true, ?int $http_response_code = null): void
1111
{
1212
Http::header($content, $replace, $http_response_code);
1313
}
@@ -17,6 +17,8 @@ function header(string $content, bool $replace = true, int $http_response_code =
1717
*
1818
* @param string $name The header name to be removed. This parameter is case-insensitive.
1919
* @return void
20+
*
21+
* @link https://php.net/manual/en/function.header-remove.php
2022
*/
2123
function header_remove(string $name): void
2224
{

0 commit comments

Comments
 (0)