aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2013-02-07 00:56:31 +0100
committerIgor Wiedler <igor@wiedler.ch>2013-02-07 00:56:31 +0100
commitfa33eae556c248ef6b2d41d9c9203b29e23dfb3a (patch)
treebf69322528c9748e87cf0c3d8f495192055769a3 /phpBB
parenteffaef6bddf49b9016d66bd64706392fcdb452b3 (diff)
parentdaf243026a1c6bcd369381433b556732674c41f6 (diff)
downloadforums-fa33eae556c248ef6b2d41d9c9203b29e23dfb3a.tar
forums-fa33eae556c248ef6b2d41d9c9203b29e23dfb3a.tar.gz
forums-fa33eae556c248ef6b2d41d9c9203b29e23dfb3a.tar.bz2
forums-fa33eae556c248ef6b2d41d9c9203b29e23dfb3a.tar.xz
forums-fa33eae556c248ef6b2d41d9c9203b29e23dfb3a.zip
Merge remote-tracking branch 'exreaction/ticket/11350' into develop
* exreaction/ticket/11350: [ticket/11350] Do not pass $db by reference; typehint phpbb_db_driver
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/db/db_tools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/db_tools.php b/phpBB/includes/db/db_tools.php
index e8c26fa502..983cdc18ea 100644
--- a/phpBB/includes/db/db_tools.php
+++ b/phpBB/includes/db/db_tools.php
@@ -303,7 +303,7 @@ class phpbb_db_tools
* @param phpbb_db_driver $db Database connection
* @param bool $return_statements True if only statements should be returned and no SQL being executed
*/
- function phpbb_db_tools(&$db, $return_statements = false)
+ function phpbb_db_tools(phpbb_db_driver $db, $return_statements = false)
{
$this->db = $db;
$this->return_statements = $return_statements;