Skip to content

Commit

Permalink
Fix PDOStatement::fetchObject() stub
Browse files Browse the repository at this point in the history
Closes GH-6449.
  • Loading branch information
BenMorel authored and nikic committed Nov 24, 2020
1 parent 68d5878 commit 4bbb98c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/pdo/pdo_stmt.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function fetchAll(int $mode = PDO::FETCH_BOTH, mixed ...$args) {}
/** @return mixed */
public function fetchColumn(int $column = 0) {}

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

/** @return mixed */
Expand Down
2 changes: 1 addition & 1 deletion ext/pdo/pdo_stmt_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: 574055f1dbb6a1bee10e4476642a759e53ca2802 */
* Stub hash: 9d890849a08b43cb35e2cd8468aeaabfc0a7f218 */

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PDOStatement_bindColumn, 0, 0, 2)
ZEND_ARG_TYPE_MASK(0, column, MAY_BE_STRING|MAY_BE_LONG, NULL)
Expand Down

0 comments on commit 4bbb98c

Please sign in to comment.