fix: use root namespace for mysqli class

This commit is contained in:
Victor Westerlund 2023-04-24 17:07:45 +02:00 committed by GitHub
parent 78316e608d
commit cdf1b476b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
} }