aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-02-15 00:30:30 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-15 17:01:20 +0100
commit1e3175cca3296eb04e3342766aa92ec74013431c (patch)
treea7eaa2a0df729f69909275dfd34efe46c939b11f /phpBB/includes/acp
parentec1fb0423dbc0ee64f06e419657e62e4475fe2e9 (diff)
downloadforums-1e3175cca3296eb04e3342766aa92ec74013431c.tar
forums-1e3175cca3296eb04e3342766aa92ec74013431c.tar.gz
forums-1e3175cca3296eb04e3342766aa92ec74013431c.tar.bz2
forums-1e3175cca3296eb04e3342766aa92ec74013431c.tar.xz
forums-1e3175cca3296eb04e3342766aa92ec74013431c.zip
[ticket/10748] Fix class type hinting
PHPBB3-10748
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_profile.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index a376b6189e..146e116cfd 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -117,7 +117,7 @@ class acp_profile
$db->sql_query('DELETE FROM ' . PROFILE_FIELDS_LANG_TABLE . " WHERE field_id = $field_id");
$db->sql_query('DELETE FROM ' . PROFILE_LANG_TABLE . " WHERE field_id = $field_id");
- /* @var $db_tools \phpbb\db\tools */
+ /* @var $db_tools \phpbb\db\tools\tools_interface */
$db_tools = $phpbb_container->get('dbal.tools');
$db_tools->sql_column_remove(PROFILE_FIELDS_DATA_TABLE, 'pf_' . $field_ident);
@@ -886,8 +886,7 @@ class acp_profile
if ($action == 'create')
{
$field_ident = 'pf_' . $field_ident;
-
- /* @var $db_tools \phpbb\db\tools */
+ /* @var $db_tools \phpbb\db\tools\tools_interface */
$db_tools = $phpbb_container->get('dbal.tools');
$db_tools->sql_column_add(PROFILE_FIELDS_DATA_TABLE, $field_ident, array($profile_field->get_database_column_type(), null));
}