aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/type/topic.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-03-27 00:02:20 -0700
committerMatt Friedman <maf675@gmail.com>2015-03-27 00:02:20 -0700
commitdbb538afbdce345dfc61b06ec6a84313c1141284 (patch)
tree17e7699073aab3dc8861a5feb657bb3dc9d369f8 /phpBB/phpbb/notification/type/topic.php
parent9a9a665a0a4f34707acffcd5efbe2e2e62660758 (diff)
downloadforums-dbb538afbdce345dfc61b06ec6a84313c1141284.tar
forums-dbb538afbdce345dfc61b06ec6a84313c1141284.tar.gz
forums-dbb538afbdce345dfc61b06ec6a84313c1141284.tar.bz2
forums-dbb538afbdce345dfc61b06ec6a84313c1141284.tar.xz
forums-dbb538afbdce345dfc61b06ec6a84313c1141284.zip
[ticket/13725] Coding guidelines: static public
PHPBB3-13725
Diffstat (limited to 'phpBB/phpbb/notification/type/topic.php')
-rw-r--r--phpBB/phpbb/notification/type/topic.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/notification/type/topic.php b/phpBB/phpbb/notification/type/topic.php
index 5f57087b73..a1a17535b5 100644
--- a/phpBB/phpbb/notification/type/topic.php
+++ b/phpBB/phpbb/notification/type/topic.php
@@ -50,7 +50,7 @@ class topic extends \phpbb\notification\type\base
* @var bool|array False if the service should use it's default data
* Array of data (including keys 'id', 'lang', and 'group')
*/
- public static $notification_option = array(
+ static public $notification_option = array(
'lang' => 'NOTIFICATION_TYPE_TOPIC',
'group' => 'NOTIFICATION_GROUP_POSTING',
);
@@ -68,7 +68,7 @@ class topic extends \phpbb\notification\type\base
*
* @param array $post The data from the post
*/
- public static function get_item_id($post)
+ static public function get_item_id($post)
{
return (int) $post['topic_id'];
}
@@ -78,7 +78,7 @@ class topic extends \phpbb\notification\type\base
*
* @param array $post The data from the post
*/
- public static function get_item_parent_id($post)
+ static public function get_item_parent_id($post)
{
return (int) $post['forum_id'];
}