Skip to content

Commit 4bbb98c

Browse files
BenMorelnikic
authored andcommitted
Fix PDOStatement::fetchObject() stub
Closes GH-6449.
1 parent 68d5878 commit 4bbb98c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pdo/pdo_stmt.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function fetchAll(int $mode = PDO::FETCH_BOTH, mixed ...$args) {}
4040
/** @return mixed */
4141
public function fetchColumn(int $column = 0) {}
4242

43-
/** @return mixed */
43+
/** @return object|false */
4444
public function fetchObject(?string $class = "stdClass", ?array $ctorArgs = null) {}
4545

4646
/** @return mixed */

ext/pdo/pdo_stmt_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: 574055f1dbb6a1bee10e4476642a759e53ca2802 */
2+
* Stub hash: 9d890849a08b43cb35e2cd8468aeaabfc0a7f218 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindColumn, 0, 0, 2)
55
ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)

0 commit comments

Comments
 (0)