aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 19:46:12 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-16 19:05:09 +0200
commitca3cdadd083dfa2e4e0596d17424c7d9b541785c (patch)
tree2f4b69bb96bc92e5934277d6621a4d934fc19bcc /phpBB/phpbb/feed/topic_base.php
parentMerge pull request #2605 from Nicofuma/ticket/12724 (diff)
downloadphpbb-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.tar.gz
phpbb-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.tar.bz2
phpbb-ca3cdadd083dfa2e4e0596d17424c7d9b541785c.zip
[ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
PHPBB3-12722
Diffstat (limited to 'phpBB/phpbb/feed/topic_base.php')
-rw-r--r--phpBB/phpbb/feed/topic_base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/feed/topic_base.php b/phpBB/phpbb/feed/topic_base.php
index 4fbb498272..f9ff368cba 100644
--- a/phpBB/phpbb/feed/topic_base.php
+++ b/phpBB/phpbb/feed/topic_base.php
@@ -52,11 +52,11 @@ abstract class topic_base extends \phpbb\feed\attachments_base
if ($this->is_moderator_approve_forum($row['forum_id']))
{
- if ( (int)$row['topic_visibility'] === ITEM_DELETED)
+ if ((int) $row['topic_visibility'] === ITEM_DELETED)
{
$item_row['statistics'] .= ' ' . $this->separator_stats . ' ' . $this->user->lang['TOPIC_DELETED'];
}
- else if ((int)$row['topic_visibility'] === ITEM_UNAPPROVED)
+ else if ((int) $row['topic_visibility'] === ITEM_UNAPPROVED)
{
$item_row['statistics'] .= ' ' . $this->separator_stats . ' ' . $this->user->lang['TOPIC_UNAPPROVED'];
}