Skip to content

Commit c3b9b0f

Browse files
committed
Fix stub type info for posix_getrlimit
1 parent cd8beb8 commit c3b9b0f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Zend/Optimizer/zend_func_infos.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static const func_info_t func_infos[] = {
412412
F1("posix_getpwnam", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
413413
F1("posix_getpwuid", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
414414
#if defined(HAVE_GETRLIMIT)
415-
F1("posix_getrlimit", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
415+
F1("posix_getrlimit", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
416416
#endif
417417
F1("pspell_suggest", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_FALSE),
418418
F1("random_bytes", MAY_BE_STRING),

ext/posix/posix.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function posix_getpwuid(int $user_id): array|false {}
335335

336336
#ifdef HAVE_GETRLIMIT
337337
/**
338-
* @return array<string, int|string>|false
338+
* @return array<int|string, int|string>|false
339339
* @refcount 1
340340
*/
341341
function posix_getrlimit(?int $resource = null): array|false {}

ext/posix/posix_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)