Skip to content

Commit 86ef34f

Browse files
committed
Fix the return type of mysqli::connect()
1 parent a5601b2 commit 86ef34f

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

5656
/**
57-
* @return mysqli|null|false
57+
* @return bool|null
5858
* @alias mysqli_connect
5959
* @no-verify
6060
*/

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