Skip to content

Commit 09c6110

Browse files
committed
Fix stubs param name
1 parent 4b05d3e commit 09c6110

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public function refresh(int $options) {}
301301

302302
class mysqli_result implements IteratorAggregate
303303
{
304-
public function __construct(object $mysqli_link, int $resmode = MYSQLI_STORE_RESULT) {}
304+
public function __construct(object $mysqli_link, int $result_mode = MYSQLI_STORE_RESULT) {}
305305

306306
/**
307307
* @return void

ext/mysqli/mysqli_arginfo.h

Lines changed: 2 additions & 2 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: 473cceef8ade1758128ddb348ec3c90216d12b3f */
2+
* Stub hash: f2ff49a9cefcd31a990989b1c1ff525f9fb4d3de */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
55
ZEND_ARG_OBJ_INFO(0, mysql_link, mysqli, 0)
@@ -576,7 +576,7 @@ ZEND_END_ARG_INFO()
576576

577577
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result___construct, 0, 0, 1)
578578
ZEND_ARG_TYPE_INFO(0, mysqli_link, IS_OBJECT, 0)
579-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, resmode, IS_LONG, 0, "MYSQLI_STORE_RESULT")
579+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_mode, IS_LONG, 0, "MYSQLI_STORE_RESULT")
580580
ZEND_END_ARG_INFO()
581581

582582
#define arginfo_class_mysqli_result_close arginfo_class_mysqli_character_set_name

0 commit comments

Comments
 (0)