mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
[ticket/12282] Use interface for type hinting
PHPBB3-12282
This commit is contained in:
@@ -150,7 +150,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
// so we don't reopen an open connection
|
||||
if (!($this->db instanceof \phpbb\db\driver\driver))
|
||||
if (!($this->db instanceof \phpbb\db\driver\driver_interface))
|
||||
{
|
||||
$dbms = self::$config['dbms'];
|
||||
$this->db = new $dbms();
|
||||
|
Reference in New Issue
Block a user