mirror of
https://codeberg.org/vlw/php-sqlite.git
synced 2025-09-13 20:43:40 +02:00
fix: root namespace for sqlite3 classes
This commit is contained in:
parent
acad98d5c0
commit
954b5c4c7b
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace libsqlitedriver;
|
||||
namespace libsqlitedriver;
|
||||
|
||||
class SQLite extends SQLite3 {
|
||||
class SQLite extends \SQLite3 {
|
||||
function __construct(string $db = ":memory:", string $init = null) {
|
||||
$this->db_path = $db;
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
|
||||
// Execute a prepared statement and SQLite3Result object
|
||||
private function run_query(string $query, mixed $values = []): SQLite3Result|bool {
|
||||
private function run_query(string $query, mixed $values = []): \SQLite3Result|bool {
|
||||
$statement = $this->prepare($query);
|
||||
|
||||
// Format optional placeholder "?" with values
|
||||
|
|
Loading…
Add table
Reference in a new issue