Skip to content

Commit

Permalink
Fix return type of mysqli::init()
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed May 7, 2021
1 parent a3c38c2 commit e8361eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/mysqli/mysqli.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function get_server_info() {}
public function get_warnings() {}

/**
* @return mysqli|false
* @return null|false
*/
public function init() {}

Expand Down
2 changes: 1 addition & 1 deletion ext/mysqli/mysqli_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 36c7ee22aa4c5bb5e0174031a3defcaaadde0dbd */
* Stub hash: c2ab263780902447855ecb0d8a9e3432577a32d1 */

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)
Expand Down

0 comments on commit e8361eb

Please sign in to comment.