From 4ceab3c530a679e4c8c68aecd6d038af3f3a8a8d Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Sat, 12 Jul 2025 01:05:08 +0900 Subject: [PATCH] More precise return type for posix_getpwnam() --- resources/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index 2b31468b37..e49220c809 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -8693,7 +8693,7 @@ 'posix_getpgrp' => ['int'], 'posix_getpid' => ['int'], 'posix_getppid' => ['int'], -'posix_getpwnam' => ['array|false', 'groupname'=>'string'], +'posix_getpwnam' => ['array{name: string, passwd: string, uid: int, gid: int, gecos: string, dir: string, shell: string}|false', 'groupname'=>'string'], 'posix_getpwuid' => ['array{name: string, passwd: string, uid: int, gid: int, gecos: string, dir: string, shell: string}|false', 'uid'=>'int'], 'posix_getrlimit' => ['array|false'], 'posix_getsid' => ['int|false', 'pid'=>'int'],