Skip to content

Commit c5f4ee5

Browse files
committed
$context parameter of get_headers() is nullable
Closes GH-7813.
1 parent 80b0227 commit c5f4ee5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ function rawurlencode(string $string): string {}
14331433

14341434
function rawurldecode(string $string): string {}
14351435

1436-
/** @param resource $context */
1436+
/** @param resource|null $context */
14371437
function get_headers(string $url, bool $associative = false, $context = null): array|false {}
14381438

14391439
/* user_filters.c */

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 2da40c5fd9726f98ff96cf9fb5e0c41521e1e6ae */
2+
* Stub hash: ff0ec0005317a22c41e61e9c58f67e968d1243c4 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
55
ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)

0 commit comments

Comments
 (0)