aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mock/cache.php')
-rw-r--r--tests/mock/cache.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/mock/cache.php b/tests/mock/cache.php
index c6d08afef0..71af3037f5 100644
--- a/tests/mock/cache.php
+++ b/tests/mock/cache.php
@@ -121,8 +121,13 @@ class phpbb_mock_cache implements phpbb_cache_driver_interface
public function sql_load($query)
{
}
- public function sql_save($query, &$query_result, $ttl)
+
+ /**
+ * {@inheritDoc}
+ */
+ public function sql_save(phpbb_db_driver $db, $query, $query_result, $ttl)
{
+ return $query_result;
}
public function sql_exists($query_id)
{