summaryrefslogtreecommitdiff
path: root/ext/sqlite3/sqlite3.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-03 13:00:30 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-06 19:15:39 +0200
commit35a10fb8e893fbb17e7e95bd31f901d4a97941f9 (patch)
tree19545f2915c9f9722fcd2ec0aa0bb2ca2ae6b3e7 /ext/sqlite3/sqlite3.stub.php
parent60412c37aea007107e5b3cf03287321216cb58c4 (diff)
downloadphp-git-35a10fb8e893fbb17e7e95bd31f901d4a97941f9.tar.gz
Fix UNKNOWN default values in ext/sqlite3
Diffstat (limited to 'ext/sqlite3/sqlite3.stub.php')
-rw-r--r--ext/sqlite3/sqlite3.stub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sqlite3/sqlite3.stub.php b/ext/sqlite3/sqlite3.stub.php
index 42ba303b00..1d6357c3e1 100644
--- a/ext/sqlite3/sqlite3.stub.php
+++ b/ext/sqlite3/sqlite3.stub.php
@@ -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() {}