Fix the return type of mysqli::connect()

This commit is contained in:
Máté Kocsis 2021-05-26 11:55:03 +02:00
parent a5601b2ab5
commit 86ef34fc61
No known key found for this signature in database
GPG key ID: FD055E41728BF310
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ class mysqli
public function commit(int $flags = 0, ?string $name = null) {}
/**
* @return mysqli|null|false
* @return bool|null
* @alias mysqli_connect
* @no-verify
*/

View file

@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: c2ab263780902447855ecb0d8a9e3432577a32d1 */
* Stub hash: 5a2483f099fbebc795747e3b51402b2194020743 */
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, mysqli, 0)