Skip to content

Commit

Permalink
SQLite3::query() cannot return null
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Jan 4, 2021
1 parent 6e90c75 commit abe23bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/sqlite3/sqlite3.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function prepare(string $query) {}
/** @return bool */
public function exec(string $query) {}

/** @return SQLite3Result|false|null */
/** @return SQLite3Result|false */
public function query(string $query) {}

/** @return mixed */
Expand Down
2 changes: 1 addition & 1 deletion ext/sqlite3/sqlite3_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: 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)
Expand Down

0 comments on commit abe23bd

Please sign in to comment.