mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix UNKNOWN default values in ext/sqlite3
This commit is contained in:
parent
60412c37ae
commit
35a10fb8e8
2 changed files with 4 additions and 4 deletions
|
@ -86,10 +86,10 @@ class SQLite3Stmt
|
|||
private function __construct(SQLite3 $sqlite3, string $sql) {}
|
||||
|
||||
/** @return bool */
|
||||
public function bindParam($param_number, &$param, int $type = UNKNOWN) {}
|
||||
public function bindParam($param_number, &$param, int $type = SQLITE3_TEXT) {}
|
||||
|
||||
/** @return bool */
|
||||
public function bindValue($param_number, $param, int $type = UNKNOWN) {}
|
||||
public function bindValue($param_number, $param, int $type = SQLITE3_TEXT) {}
|
||||
|
||||
/** @return bool */
|
||||
public function clear() {}
|
||||
|
|
|
@ -105,13 +105,13 @@ ZEND_END_ARG_INFO()
|
|||
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3Stmt_bindParam, 0, 0, 2)
|
||||
ZEND_ARG_INFO(0, param_number)
|
||||
ZEND_ARG_INFO(1, param)
|
||||
ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "SQLITE3_TEXT")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3Stmt_bindValue, 0, 0, 2)
|
||||
ZEND_ARG_INFO(0, param_number)
|
||||
ZEND_ARG_INFO(0, param)
|
||||
ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "SQLITE3_TEXT")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
#define arginfo_class_SQLite3Stmt_clear arginfo_class_SQLite3_close
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue