Skip to content

Commit

Permalink
$context parameter of get_headers() is nullable
Browse files Browse the repository at this point in the history
Closes GH-7813.
  • Loading branch information
cmb69 committed Dec 23, 2021
1 parent 80b0227 commit c5f4ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/standard/basic_functions.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ function rawurlencode(string $string): string {}

function rawurldecode(string $string): string {}

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

/* user_filters.c */
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/basic_functions_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 2da40c5fd9726f98ff96cf9fb5e0c41521e1e6ae */
* Stub hash: ff0ec0005317a22c41e61e9c58f67e968d1243c4 */

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
Expand Down

0 comments on commit c5f4ee5

Please sign in to comment.