mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed inconsistent naming for stub, return type for shmop_size
This commit is contained in:
parent
c5a7f61eca
commit
434f5329f7
3 changed files with 3 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
#include "php.h"
|
||||
#include "php_ini.h"
|
||||
#include "php_shmop.h"
|
||||
#include "php_shmop_arginfo.h"
|
||||
#include "shmop_arginfo.h"
|
||||
|
||||
# ifndef PHP_WIN32
|
||||
# include <sys/ipc.h>
|
||||
|
|
|
@ -16,9 +16,8 @@ function shmop_close($shmid): void {}
|
|||
|
||||
/**
|
||||
* @param resource $shmid
|
||||
* @return int|false
|
||||
*/
|
||||
function shmop_size($shmid) {}
|
||||
function shmop_size($shmid): int {}
|
||||
|
||||
/**
|
||||
* @param resource $shmid
|
|
@ -17,7 +17,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_close, 0, 1, IS_VOID, 0)
|
|||
ZEND_ARG_INFO(0, shmid)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_shmop_size, 0, 0, 1)
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_size, 0, 1, IS_LONG, 0)
|
||||
ZEND_ARG_INFO(0, shmid)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue