diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-03 00:45:51 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-03 00:45:51 +0200 |
commit | 79981a394e97bebf41a7a5633aa4db4357e1b21b (patch) | |
tree | 5b06fc8cf1325ce5d55c233591015ac1fc399ce4 /ext/posix | |
parent | 6ba24e96150fd0f536338c785412a19ab33792e1 (diff) | |
download | php-git-79981a394e97bebf41a7a5633aa4db4357e1b21b.tar.gz |
Add a bunch of missing argument types to stubs
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/posix.stub.php | 2 | ||||
-rw-r--r-- | ext/posix/posix_arginfo.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/posix/posix.stub.php b/ext/posix/posix.stub.php index 477947112c..d009d7df67 100644 --- a/ext/posix/posix.stub.php +++ b/ext/posix/posix.stub.php @@ -61,8 +61,10 @@ function posix_times(): array|false {} function posix_ctermid(): string|false {} #endif +/** @param resource|int $fd */ function posix_ttyname($fd): string|false {} +/** @param resource|int $fd */ function posix_isatty($fd): bool {} function posix_getcwd(): string|false {} diff --git a/ext/posix/posix_arginfo.h b/ext/posix/posix_arginfo.h index fc6f34593e..9cb7523d4b 100644 --- a/ext/posix/posix_arginfo.h +++ b/ext/posix/posix_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 8b74b3201e5a89a25d69753f3078e72ec0395500 */ + * Stub hash: c97ecb9b83ed873ca1ee2046ade191eef5bff25b */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_posix_kill, 0, 2, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, pid, IS_LONG, 0) |