Skip to content

Commit 854b13c

Browse files
committed
Review
1 parent 40659f0 commit 854b13c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/shmop/shmop.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ final class Shmop {}
66

77
function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {}
88

9-
function shmop_read(Shmop $shmop, int $offset, int $size): string {}
9+
function shmop_read(Shmop $shmop, int $offset, int $ize): string {}
1010

1111
/** @deprecated */
1212
function shmop_close(Shmop $shmop): void {}
1313

1414
function shmop_size(Shmop $shmop): int {}
1515

16-
function shmop_write(Shmop $shmop, string $content, int $offset): int {}
16+
function shmop_write(Shmop $shmop, string $data, int $offset): int {}
1717

1818
function shmop_delete(Shmop $shmop): bool {}

ext/shmop/shmop_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: db362fda51b0c9c0e4faabe8f3000ffde179aa1d */
2+
* Stub hash: 8da0a7cfc3c3d1e496ec969891609314b0b5f066 */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_shmop_open, 0, 4, Shmop, MAY_BE_FALSE)
55
ZEND_ARG_TYPE_INFO(0, key, IS_LONG, 0)
@@ -11,7 +11,7 @@ ZEND_END_ARG_INFO()
1111
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_read, 0, 3, IS_STRING, 0)
1212
ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
1313
ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
14-
ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
14+
ZEND_ARG_TYPE_INFO(0, ize, IS_LONG, 0)
1515
ZEND_END_ARG_INFO()
1616

1717
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_close, 0, 1, IS_VOID, 0)
@@ -24,7 +24,7 @@ ZEND_END_ARG_INFO()
2424

2525
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_shmop_write, 0, 3, IS_LONG, 0)
2626
ZEND_ARG_OBJ_INFO(0, shmop, Shmop, 0)
27-
ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
27+
ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
2828
ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
2929
ZEND_END_ARG_INFO()
3030

0 commit comments

Comments
 (0)