[ticket/12282] Update new references

PHPBB3-12282
This commit is contained in:
Joas Schilling 2014-04-01 19:19:52 +02:00
parent fd462bfd15
commit 3656fa3026
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ class schema_generator
/** @var \phpbb\config\config */ /** @var \phpbb\config\config */
protected $config; protected $config;
/** @var \phpbb\db\driver\driver */ /** @var \phpbb\db\driver\driver_interface */
protected $db; protected $db;
/** @var \phpbb\db\tools */ /** @var \phpbb\db\tools */
@ -43,7 +43,7 @@ class schema_generator
/** /**
* Constructor * 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->config = $config;
$this->db = $db; $this->db = $db;

View file

@ -321,7 +321,7 @@ class phpbb_database_test_connection_manager
* Compile the correct schema filename (as per create_schema_files) and * Compile the correct schema filename (as per create_schema_files) and
* load it into the database. * 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']; $schema = $this->dbms['SCHEMA'];