aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session
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 /tests/session
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 'tests/session')
-rw-r--r--tests/session/testable_factory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/session/testable_factory.php b/tests/session/testable_factory.php
index a58e208efc..c968012edf 100644
--- a/tests/session/testable_factory.php
+++ b/tests/session/testable_factory.php
@@ -63,10 +63,10 @@ class phpbb_session_testable_factory
/**
* Retrieve the configured session class instance
*
- * @param \phpbb\db\driver\driver $dbal The database connection to use for session data
+ * @param \phpbb\db\driver\driver_interface $dbal The database connection to use for session data
* @return phpbb_mock_session_testable A session instance
*/
- public function get_session(\phpbb\db\driver\driver $dbal)
+ public function get_session(\phpbb\db\driver\driver_interface $dbal)
{
// set up all the global variables used by session
global $SID, $_SID, $db, $config, $cache, $request, $phpbb_container;