mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/13421] Always require the interface when possible
PHPBB3-13421
This commit is contained in:
@@ -24,7 +24,7 @@ class migrator
|
||||
/** @var \phpbb\db\driver\driver_interface */
|
||||
protected $db;
|
||||
|
||||
/** @var \phpbb\db\tools */
|
||||
/** @var \phpbb\db\tools_interface */
|
||||
protected $db_tools;
|
||||
|
||||
/** @var \phpbb\db\migration\helper */
|
||||
@@ -84,7 +84,7 @@ class migrator
|
||||
/**
|
||||
* Constructor of the database migrator
|
||||
*/
|
||||
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\db\tools $db_tools, $migrations_table, $phpbb_root_path, $php_ext, $table_prefix, $tools, \phpbb\db\migration\helper $helper)
|
||||
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\db\tools_interface $db_tools, $migrations_table, $phpbb_root_path, $php_ext, $table_prefix, $tools, \phpbb\db\migration\helper $helper)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->db = $db;
|
||||
|
Reference in New Issue
Block a user