Skip to content

Commit 34ef804

Browse files
kamil-tekielanikic
authored andcommitted
Make fetch_* OO same as func
Clsoses GH-6580.
1 parent f674a33 commit 34ef804

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/mysqli/mysqli.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,19 +355,19 @@ public function fetch_all(int $mode = MYSQLI_NUM) {}
355355
public function fetch_array(int $mode = MYSQLI_BOTH) {}
356356

357357
/**
358-
* @return array|null
358+
* @return array|null|false
359359
* @alias mysqli_fetch_assoc
360360
*/
361361
public function fetch_assoc() {}
362362

363363
/**
364-
* @return object|null
364+
* @return object|null|false
365365
* @alias mysqli_fetch_object
366366
*/
367367
public function fetch_object(string $class = "stdClass", array $constructor_args = []) {}
368368

369369
/**
370-
* @return array|null
370+
* @return array|null|false
371371
* @alias mysqli_fetch_row
372372
*/
373373
public function fetch_row() {}

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: 0403f612783ee03ff4f586f136b5d3481ecd072c */
2+
* Stub hash: 5a8b778eaa9efcca7d3ad8bfdbaa31d9d07b25e8 */
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)