Skip to content

Commit a6c9f14

Browse files
committed
Merge branch 'PHP-8.0'
* Fix return type of mysqli::connect()
2 parents 07da2e3 + 86ef34f commit a6c9f14

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
@@ -99,7 +99,7 @@ public function close() {}
9999
public function commit(int $flags = 0, ?string $name = null) {}
100100

101101
/**
102-
* @return mysqli|null|false
102+
* @return bool|null
103103
* @alias mysqli_connect
104104
* @no-verify
105105
*/

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: 6e22edabfde28f950f79aae189c1b410bb31b785 */
2+
* Stub hash: 5a2483f099fbebc795747e3b51402b2194020743 */
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)