mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12282] Update new references
PHPBB3-12282
This commit is contained in:
parent
fd462bfd15
commit
3656fa3026
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ class schema_generator
|
|||
/** @var \phpbb\config\config */
|
||||
protected $config;
|
||||
|
||||
/** @var \phpbb\db\driver\driver */
|
||||
/** @var \phpbb\db\driver\driver_interface */
|
||||
protected $db;
|
||||
|
||||
/** @var \phpbb\db\tools */
|
||||
|
@ -43,7 +43,7 @@ class schema_generator
|
|||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public function __construct(array $class_names, \phpbb\config\config $config, \phpbb\db\driver\driver $db, \phpbb\db\tools $db_tools, $phpbb_root_path, $php_ext, $table_prefix)
|
||||
public function __construct(array $class_names, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\db\tools $db_tools, $phpbb_root_path, $php_ext, $table_prefix)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->db = $db;
|
||||
|
|
|
@ -321,7 +321,7 @@ class phpbb_database_test_connection_manager
|
|||
* Compile the correct schema filename (as per create_schema_files) and
|
||||
* load it into the database.
|
||||
*/
|
||||
protected function load_schema_from_file($directory, \phpbb\db\driver\driver $db)
|
||||
protected function load_schema_from_file($directory, \phpbb\db\driver\driver_interface $db)
|
||||
{
|
||||
$schema = $this->dbms['SCHEMA'];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue