diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-03-17 13:29:35 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-01 19:17:41 +0200 |
commit | 11a9104b8a50cbc62cba0c242dee554b5209a327 (patch) | |
tree | 2f1b6ab886a7c76f21a98faf1d46d13c84c951a4 /phpBB/phpbb/extension/manager.php | |
parent | 1f28451d587aa3566cdb6f7848439d2d5efdf820 (diff) | |
download | forums-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/extension/manager.php')
-rw-r--r-- | phpBB/phpbb/extension/manager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php index 993bd1b925..b22fbf07a6 100644 --- a/phpBB/phpbb/extension/manager.php +++ b/phpBB/phpbb/extension/manager.php @@ -34,7 +34,7 @@ class manager * Creates a manager and loads information from database * * @param ContainerInterface $container A container - * @param \phpbb\db\driver\driver $db A database connection + * @param \phpbb\db\driver\driver_interface $db A database connection * @param \phpbb\config\config $config \phpbb\config\config * @param \phpbb\filesystem $filesystem * @param string $extension_table The name of the table holding extensions @@ -43,7 +43,7 @@ class manager * @param \phpbb\cache\driver\driver_interface $cache A cache instance or null * @param string $cache_name The name of the cache variable, defaults to _ext */ - public function __construct(ContainerInterface $container, \phpbb\db\driver\driver $db, \phpbb\config\config $config, \phpbb\filesystem $filesystem, $extension_table, $phpbb_root_path, $php_ext = 'php', \phpbb\cache\driver\driver_interface $cache = null, $cache_name = '_ext') + public function __construct(ContainerInterface $container, \phpbb\db\driver\driver_interface $db, \phpbb\config\config $config, \phpbb\filesystem $filesystem, $extension_table, $phpbb_root_path, $php_ext = 'php', \phpbb\cache\driver\driver_interface $cache = null, $cache_name = '_ext') { $this->container = $container; $this->phpbb_root_path = $phpbb_root_path; |