Skip to content

Commit aa515c4

Browse files
committed
Rename parameter to "shorthand"
1 parent cfb1ded commit aa515c4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext/standard/basic_functions.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ function ini_alter(string $option, string|int|float|bool|null $value): string|fa
499499

500500
function ini_restore(string $option): void {}
501501

502-
function ini_bytes(string $option): int {}
502+
function ini_bytes(string $shorthand): int {}
503503

504504
/** @refcount 1 */
505505
function set_include_path(string $include_path): string|false {}

ext/standard/basic_functions_arginfo.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,10 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ini_restore, 0, 1, IS_VOID, 0)
504504
ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0)
505505
ZEND_END_ARG_INFO()
506506

507+
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ini_bytes, 0, 1, IS_LONG, 0)
508+
ZEND_ARG_TYPE_INFO(0, shorthand, IS_STRING, 0)
509+
ZEND_END_ARG_INFO()
510+
507511
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_set_include_path, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
508512
ZEND_ARG_TYPE_INFO(0, include_path, IS_STRING, 0)
509513
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)