aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/db_tools.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-02-06 13:08:35 -0600
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-02-06 13:08:35 -0600
commitdaf243026a1c6bcd369381433b556732674c41f6 (patch)
tree89ab2591908437112730c230e3154cfea16d611a /phpBB/includes/db/db_tools.php
parent67c85fa4d3adce385958762a2f55cd5aaeecc733 (diff)
downloadforums-daf243026a1c6bcd369381433b556732674c41f6.tar
forums-daf243026a1c6bcd369381433b556732674c41f6.tar.gz
forums-daf243026a1c6bcd369381433b556732674c41f6.tar.bz2
forums-daf243026a1c6bcd369381433b556732674c41f6.tar.xz
forums-daf243026a1c6bcd369381433b556732674c41f6.zip
[ticket/11350] Do not pass $db by reference; typehint phpbb_db_driver
PHPBB3-11350
Diffstat (limited to 'phpBB/includes/db/db_tools.php')
-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 a4bf40fcd7..9235317958 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;