Skip to content

Commit e8361eb

Browse files
committed
Fix return type of mysqli::init()
1 parent a3c38c2 commit e8361eb

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 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: c2ab263780902447855ecb0d8a9e3432577a32d1 */
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)