From 1779a38145c2bed8e1e650dc84c19120dab6a690 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Fri, 18 Jul 2025 09:12:21 +0200 Subject: [PATCH] Improve sys_getloadavg return type --- resources/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index ed1a7bb993..73900767fc 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -12125,7 +12125,7 @@ 'SyncSharedMemory::size' => ['bool'], 'SyncSharedMemory::write' => ['', 'string='=>'string', 'start='=>'int'], 'sys_get_temp_dir' => ['string'], -'sys_getloadavg' => ['array|false'], +'sys_getloadavg' => ['array{float,float,float}|false'], 'syslog' => ['bool', 'priority'=>'int', 'message'=>'string'], 'system' => ['string|false', 'command'=>'string', '&w_return_value='=>'int'], 'taint' => ['bool', '&rw_string'=>'string', '&...w_other_strings='=>'string'],