diff options
| author | Benjamin Morel <benjamin.morel@gmail.com> | 2020-11-23 23:24:20 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-11-24 09:49:30 +0100 |
| commit | 4bbb98c24fa691c176e403ab00a2fe3dd4224b3e (patch) | |
| tree | dbacdca4e8247cbf4d054196c5a6592a17a67b2e | |
| parent | 68d5878097cf0d3b388c0d86526032c22b707812 (diff) | |
| download | php-git-4bbb98c24fa691c176e403ab00a2fe3dd4224b3e.tar.gz | |
Fix PDOStatement::fetchObject() stub
Closes GH-6449.
| -rw-r--r-- | ext/pdo/pdo_stmt.stub.php | 2 | ||||
| -rw-r--r-- | ext/pdo/pdo_stmt_arginfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_stmt.stub.php b/ext/pdo/pdo_stmt.stub.php index 06d6a557e7..ab3ab6a42f 100644 --- a/ext/pdo/pdo_stmt.stub.php +++ b/ext/pdo/pdo_stmt.stub.php @@ -40,7 +40,7 @@ class PDOStatement implements IteratorAggregate /** @return mixed */ public function fetchColumn(int $column = 0) {} - /** @return mixed */ + /** @return object|false */ public function fetchObject(?string $class = "stdClass", ?array $ctorArgs = null) {} /** @return mixed */ diff --git a/ext/pdo/pdo_stmt_arginfo.h b/ext/pdo/pdo_stmt_arginfo.h index 9e7eea4c3b..25858477eb 100644 --- a/ext/pdo/pdo_stmt_arginfo.h +++ b/ext/pdo/pdo_stmt_arginfo.h @@ -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) |
