aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-01 19:19:52 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-01 19:19:52 +0200
commit3656fa3026cad5ffaa8536a4054f75cfb52dfb10 (patch)
treef11f88a28192b40003dca5a00f7f7347e6ebd2f3
parentfd462bfd151b457ab36ca981913f55cf018d81e0 (diff)
downloadforums-3656fa3026cad5ffaa8536a4054f75cfb52dfb10.tar
forums-3656fa3026cad5ffaa8536a4054f75cfb52dfb10.tar.gz
forums-3656fa3026cad5ffaa8536a4054f75cfb52dfb10.tar.bz2
forums-3656fa3026cad5ffaa8536a4054f75cfb52dfb10.tar.xz
forums-3656fa3026cad5ffaa8536a4054f75cfb52dfb10.zip
[ticket/12282] Update new references
PHPBB3-12282
-rw-r--r--phpBB/phpbb/db/migration/schema_generator.php4
-rw-r--r--tests/test_framework/phpbb_database_test_connection_manager.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/migration/schema_generator.php b/phpBB/phpbb/db/migration/schema_generator.php
index a7e2fa8f06..2d6418f6c5 100644
--- a/phpBB/phpbb/db/migration/schema_generator.php
+++ b/phpBB/phpbb/db/migration/schema_generator.php
@@ -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;
diff --git a/tests/test_framework/phpbb_database_test_connection_manager.php b/tests/test_framework/phpbb_database_test_connection_manager.php
index 5d8dae4a30..f6429b1ccb 100644
--- a/tests/test_framework/phpbb_database_test_connection_manager.php
+++ b/tests/test_framework/phpbb_database_test_connection_manager.php
@@ -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'];