Skip to content

Commit 89fba38

Browse files
committed
Fix return type of mysqli::init()
1 parent bf0859d commit 89fba38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function get_server_info() {}
113113
public function get_warnings() {}
114114

115115
/**
116-
* @return mysqli|false
116+
* @return mysqli|null|false
117117
*/
118118
public function init() {}
119119

ext/mysqli/mysqli_arginfo.h

Lines changed: 1 addition & 1 deletion
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: 36c7ee22aa4c5bb5e0174031a3defcaaadde0dbd */
2+
* Stub hash: 33b178b30eabe8aeb7eb84af7135e4af79385e2e */
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, mysqli, 0)

0 commit comments

Comments
 (0)