aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/service.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-04-10 14:04:43 -0700
committerNils Adermann <naderman@naderman.de>2014-04-10 14:04:43 -0700
commit7a947b247d359055c48acb16aadfa7453b6197e8 (patch)
tree56908d44be07ff092c0fd803e438367c2415bca3 /phpBB/phpbb/cache/service.php
parent79fe7816293435baceaecafc5a84fbb09c33afaa (diff)
parent3656fa3026cad5ffaa8536a4054f75cfb52dfb10 (diff)
downloadforums-7a947b247d359055c48acb16aadfa7453b6197e8.tar
forums-7a947b247d359055c48acb16aadfa7453b6197e8.tar.gz
forums-7a947b247d359055c48acb16aadfa7453b6197e8.tar.bz2
forums-7a947b247d359055c48acb16aadfa7453b6197e8.tar.xz
forums-7a947b247d359055c48acb16aadfa7453b6197e8.zip
Merge remote-tracking branch 'github-nickvergessen/ticket/12282' into develop-ascraeus
* github-nickvergessen/ticket/12282: [ticket/12282] Update new references [ticket/12282] Update container db mock [ticket/12282] Add new line at EOF of the interface [ticket/12282] Use interface for type hinting [ticket/12282] Use {@inheritDoc} for inherited methods [ticket/12282] Add Interface for DBAL drivers
Diffstat (limited to 'phpBB/phpbb/cache/service.php')
-rw-r--r--phpBB/phpbb/cache/service.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/cache/service.php b/phpBB/phpbb/cache/service.php
index ebbcfb8cdb..f9b6324b05 100644
--- a/phpBB/phpbb/cache/service.php
+++ b/phpBB/phpbb/cache/service.php
@@ -32,7 +32,7 @@ class service
/**
* Database connection.
*
- * @var \phpbb\db\driver\driver
+ * @var \phpbb\db\driver\driver_interface
*/
protected $db;
@@ -55,11 +55,11 @@ class service
*
* @param \phpbb\cache\driver\driver_interface $driver The cache driver
* @param \phpbb\config\config $config The config
- * @param \phpbb\db\driver\driver $db Database connection
+ * @param \phpbb\db\driver\driver_interface $db Database connection
* @param string $phpbb_root_path Root path
* @param string $php_ext PHP extension
*/
- public function __construct(\phpbb\cache\driver\driver_interface $driver, \phpbb\config\config $config, \phpbb\db\driver\driver $db, $phpbb_root_path, $php_ext)
+ public function __construct(\phpbb\cache\driver\driver_interface $driver, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, $phpbb_root_path, $php_ext)
{
$this->set_driver($driver);
$this->config = $config;