@@ -32,7 +32,7 @@ public function lastErrorMsg() {}
32
32
public function changes () {}
33
33
34
34
/** @return bool */
35
- public function busyTimeout (int $ ms ) {}
35
+ public function busyTimeout (int $ milliseconds ) {}
36
36
37
37
#ifndef SQLITE_OMIT_LOAD_EXTENSION
38
38
/** @return bool */
@@ -41,11 +41,11 @@ public function loadExtension(string $shared_library) {}
41
41
42
42
#if SQLITE_VERSION_NUMBER >= 3006011
43
43
/** @return bool */
44
- public function backup (SQLite3 $ destination_db , string $ source_dbname = "main " , string $ destination_dbname = "main " ) {}
44
+ public function backup (SQLite3 $ sqlite3 , string $ source_database = "main " , string $ destination_database = "main " ) {}
45
45
#endif
46
46
47
47
/** @return string */
48
- public static function escapeString (string $ value ) {}
48
+ public static function escapeString (string $ string ) {}
49
49
50
50
/** @return SQLite3Stmt|false */
51
51
public function prepare (string $ query ) {}
@@ -69,7 +69,7 @@ public function createAggregate(string $name, callable $step_callback, callable
69
69
public function createCollation (string $ name , callable $ callback ) {}
70
70
71
71
/** @return resource|false */
72
- public function openBlob (string $ table , string $ column , int $ rowid , string $ dbname = "main " , int $ flags = SQLITE3_OPEN_READONLY ) {}
72
+ public function openBlob (string $ table , string $ column , int $ rowid , string $ database = "main " , int $ flags = SQLITE3_OPEN_READONLY ) {}
73
73
74
74
/** @return bool */
75
75
public function enableExceptions (bool $ enableExceptions = false ) {}
@@ -86,10 +86,10 @@ class SQLite3Stmt
86
86
private function __construct (SQLite3 $ sqlite3 , string $ sql ) {}
87
87
88
88
/** @return bool */
89
- public function bindParam (string |int $ param_number , mixed &$ param , int $ type = SQLITE3_TEXT ) {}
89
+ public function bindParam (string |int $ param , mixed &$ bind_var , int $ type = SQLITE3_TEXT ) {}
90
90
91
91
/** @return bool */
92
- public function bindValue (string |int $ param_number , mixed $ param , int $ type = SQLITE3_TEXT ) {}
92
+ public function bindValue (string |int $ param , mixed $ bind_var , int $ type = SQLITE3_TEXT ) {}
93
93
94
94
/** @return bool */
95
95
public function clear () {}
@@ -101,7 +101,7 @@ public function close() {}
101
101
public function execute () {}
102
102
103
103
/** @return string|false */
104
- public function getSQL (bool $ expanded = false ) {}
104
+ public function getSQL (bool $ expand = false ) {}
105
105
106
106
/** @return int */
107
107
public function paramCount () {}
@@ -121,10 +121,10 @@ private function __construct() {}
121
121
public function numColumns () {}
122
122
123
123
/** @return string|false */
124
- public function columnName (int $ column_number ) {}
124
+ public function columnName (int $ index ) {}
125
125
126
126
/** @return int|false */
127
- public function columnType (int $ column_number ) {}
127
+ public function columnType (int $ index ) {}
128
128
129
129
/** @return array|false */
130
130
public function fetchArray (int $ mode = SQLITE3_BOTH ) {}
0 commit comments