mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-14 08:43:40 +02:00
fix: use root namespace for mysqli class
This commit is contained in:
parent
78316e608d
commit
cdf1b476b3
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace libmysqldriver;
|
namespace libmysqldriver;
|
||||||
|
|
||||||
class MySQL extends mysqli {
|
class MySQL extends \mysqli {
|
||||||
function __construct(string $host, string $user, string $pass, string $db) {
|
function __construct(string $host, string $user, string $pass, string $db) {
|
||||||
parent::__construct($host, $user, $pass, $db);
|
parent::__construct($host, $user, $pass, $db);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue