Passed
Push — master ( 941a18...a3362a )
by Dark❶
01:59
created
event/main_listener.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -73,15 +73,15 @@  discard block
 block discarded – undo
73 73
 		\phpbb\template\template			$template,
74 74
 		\phpbb\log\log						$phpbb_log,
75 75
 		$phpbb_root_path
76
-	){
77
-		$this->auth				= $auth;
78
-		$this->config			= $config;
79
-		$this->db				= $db;
76
+	) {
77
+		$this->auth = $auth;
78
+		$this->config = $config;
79
+		$this->db = $db;
80 80
 		$this->language			= $language;
81
-		$this->request			= $request;
81
+		$this->request = $request;
82 82
 		$this->template			= $template;
83 83
 		$this->phpbb_log		= $phpbb_log;
84
-		$this->phpbb_root_path	= $phpbb_root_path;
84
+		$this->phpbb_root_path = $phpbb_root_path;
85 85
 	}
86 86
 
87 87
 /**
@@ -825,8 +825,8 @@  discard block
 block discarded – undo
825 825
 		$start_wrap = '<div class="mas-wrap">';
826 826
 		$start_username = '<div class="mas-username">';
827 827
 		$end_tag = '</div>';
828
-		$avatar_test = ($this->config['allow_avatar'] && $this->config[$config_key . '_av']) ? true : false ;
829
-		$online_test = ($this->config['load_onlinetrack'] && $this->config[$config_key . '_ol']) ? true : false ;
828
+		$avatar_test = ($this->config['allow_avatar'] && $this->config[$config_key . '_av']) ? true : false;
829
+		$online_test = ($this->config['load_onlinetrack'] && $this->config[$config_key . '_ol']) ? true : false;
830 830
 		$avatar_wrap = ($avatar_test) ? $this->mas_get_avatar_img($avatar, $this->config[$config_key . '_av_sz']) : '';
831 831
 		$online_wrap = ($online_test) ? $this->mas_get_online_status_dot($online) : '';
832 832
 		return ($avatar_test || $online_test) ? ($start_wrap . $avatar_wrap . $start_username . $username . $end_tag . $online_wrap . $end_tag) : $username;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 		\phpbb\template\template			$template,
74 74
 		\phpbb\log\log						$phpbb_log,
75 75
 		$phpbb_root_path
76
-	){
76
+	) {
77 77
 		$this->auth				= $auth;
78 78
 		$this->config			= $config;
79 79
 		$this->db				= $db;
Please login to merge, or discard this patch.