]> granicus.if.org Git - php/commitdiff
Fix PDOStatement::fetchObject() stub
authorBenjamin Morel <benjamin.morel@gmail.com>
Mon, 23 Nov 2020 22:24:20 +0000 (23:24 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 24 Nov 2020 08:49:30 +0000 (09:49 +0100)
Closes GH-6449.

ext/pdo/pdo_stmt.stub.php
ext/pdo/pdo_stmt_arginfo.h

index 06d6a557e73ff19be598306776293d2af473e48e..ab3ab6a42fe9558a086bb697c8979e5abbcd3fcd 100644 (file)
@@ -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 */
index 9e7eea4c3b02af1cb1da660e7dfb75d486fe96cd..25858477ebe9d9ab904e28939bf4ad617c27c340 100644 (file)
@@ -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)