summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/mysqli.stub.php2
-rw-r--r--ext/mysqli/mysqli_arginfo.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli.stub.php b/ext/mysqli/mysqli.stub.php
index 9d557fe746..78d303b4ee 100644
--- a/ext/mysqli/mysqli.stub.php
+++ b/ext/mysqli/mysqli.stub.php
@@ -301,7 +301,7 @@ class mysqli
class mysqli_result implements IteratorAggregate
{
- public function __construct(object $mysqli_link, int $result_mode = MYSQLI_STORE_RESULT) {}
+ public function __construct(mysqli $mysqli_link, int $result_mode = MYSQLI_STORE_RESULT) {}
/**
* @return void
diff --git a/ext/mysqli/mysqli_arginfo.h b/ext/mysqli/mysqli_arginfo.h
index a0228f56ae..6622685fb7 100644
--- a/ext/mysqli/mysqli_arginfo.h
+++ b/ext/mysqli/mysqli_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 7657a5373cc27d878b1ac1f11d371f77fe243a6a */
+ * Stub hash: 20d9c5578108df89a863dd93f289e6f79d1db183 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
ZEND_ARG_OBJ_INFO(0, mysql_link, mysqli, 0)
@@ -596,7 +596,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_refresh, 0, 0, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result___construct, 0, 0, 1)
- ZEND_ARG_TYPE_INFO(0, mysqli_link, IS_OBJECT, 0)
+ ZEND_ARG_OBJ_INFO(0, mysqli_link, mysqli, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_mode, IS_LONG, 0, "MYSQLI_STORE_RESULT")
ZEND_END_ARG_INFO()