mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-13 16:23:42 +02:00
fix: namespace
This commit is contained in:
parent
01f5c3e2f1
commit
78316e608d
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "victorwesterlund/db-driver-mysqli",
|
||||
"name": "victorwesterlund/libmysqldriver",
|
||||
"description": "Abstraction library for common mysqli features",
|
||||
"type": "library",
|
||||
"license": "GPL-3.0-only",
|
||||
|
@ -12,7 +12,7 @@
|
|||
"minimum-stability": "dev",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"DBDriver\\": "src/"
|
||||
"libmysqldriver\\": "src/"
|
||||
}
|
||||
},
|
||||
"require": {}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace DBDriver;
|
||||
namespace libmysqldriver;
|
||||
|
||||
class MySQLDriver extends mysqli {
|
||||
class MySQL extends mysqli {
|
||||
function __construct(string $host, string $user, string $pass, string $db) {
|
||||
parent::__construct($host, $user, $pass, $db);
|
||||
}
|
Loading…
Add table
Reference in a new issue