aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migrator.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-03-17 13:29:35 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-04-01 19:17:41 +0200
commit11a9104b8a50cbc62cba0c242dee554b5209a327 (patch)
tree2f1b6ab886a7c76f21a98faf1d46d13c84c951a4 /phpBB/phpbb/db/migrator.php
parent1f28451d587aa3566cdb6f7848439d2d5efdf820 (diff)
downloadforums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar
forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar.gz
forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar.bz2
forums-11a9104b8a50cbc62cba0c242dee554b5209a327.tar.xz
forums-11a9104b8a50cbc62cba0c242dee554b5209a327.zip
[ticket/12282] Use interface for type hinting
PHPBB3-12282
Diffstat (limited to 'phpBB/phpbb/db/migrator.php')
-rw-r--r--phpBB/phpbb/db/migrator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php
index 4fb3f1a241..e46a1a523c 100644
--- a/phpBB/phpbb/db/migrator.php
+++ b/phpBB/phpbb/db/migrator.php
@@ -19,7 +19,7 @@ class migrator
/** @var \phpbb\config\config */
protected $config;
- /** @var \phpbb\db\driver\driver */
+ /** @var \phpbb\db\driver\driver_interface */
protected $db;
/** @var \phpbb\db\tools */
@@ -68,7 +68,7 @@ class migrator
/**
* Constructor of the database migrator
*/
- public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver $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 $db_tools, $migrations_table, $phpbb_root_path, $php_ext, $table_prefix, $tools, \phpbb\db\migration\helper $helper)
{
$this->config = $config;
$this->db = $db;