From: Christoph M. Becker Date: Fri, 1 Jan 2021 22:43:53 +0000 (+0100) Subject: SQLite3::query() cannot return null X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abe23bd9a387fca51ac424aaf10fc9e7465c2921;p=php SQLite3::query() cannot return null --- diff --git a/ext/sqlite3/sqlite3.stub.php b/ext/sqlite3/sqlite3.stub.php index ef05ab6a80..95bfb312d8 100644 --- a/ext/sqlite3/sqlite3.stub.php +++ b/ext/sqlite3/sqlite3.stub.php @@ -53,7 +53,7 @@ class SQLite3 /** @return bool */ public function exec(string $query) {} - /** @return SQLite3Result|false|null */ + /** @return SQLite3Result|false */ public function query(string $query) {} /** @return mixed */ diff --git a/ext/sqlite3/sqlite3_arginfo.h b/ext/sqlite3/sqlite3_arginfo.h index 9cb142d7c6..39e026c52d 100644 --- a/ext/sqlite3/sqlite3_arginfo.h +++ b/ext/sqlite3/sqlite3_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 20d9cd75afa2a9b9d4eb6c8019e7c47d34778df4 */ + * Stub hash: 61a684b6c221a15538a5f8cc32bc4e7d4cf3c8fd */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3___construct, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)