Passed
Push — master ( ef55f3...ac0dac )
by Dark❶
22s
created
event/main_listener.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -78,16 +78,16 @@  discard block
 block discarded – undo
78 78
 		\phpbb\template\template			$template,
79 79
 		\phpbb\log\log						$phpbb_log,
80 80
 		$phpbb_root_path
81
-	){
81
+	) {
82 82
 		$this->auth				= $auth;
83
-		$this->config			= $config;
84
-		$this->db				= $db;
83
+		$this->config = $config;
84
+		$this->db = $db;
85 85
 		$this->user				= $user;
86 86
 		$this->language			= $language;
87
-		$this->request			= $request;
87
+		$this->request = $request;
88 88
 		$this->template			= $template;
89 89
 		$this->phpbb_log		= $phpbb_log;
90
-		$this->phpbb_root_path	= $phpbb_root_path;
90
+		$this->phpbb_root_path = $phpbb_root_path;
91 91
 	}
92 92
 
93 93
 /**
@@ -832,8 +832,8 @@  discard block
 block discarded – undo
832 832
 		$start_wrap = '<div class="mas-wrap">';
833 833
 		$start_username = '<div class="mas-username">';
834 834
 		$end_tag = '</div>';
835
-		$avatar_test = ($this->config['allow_avatar'] && $this->config[$config_key . '_av']) ? true : false ;
836
-		$online_test = ($this->config['load_onlinetrack'] && $this->config[$config_key . '_ol']) ? true : false ;
835
+		$avatar_test = ($this->config['allow_avatar'] && $this->config[$config_key . '_av']) ? true : false;
836
+		$online_test = ($this->config['load_onlinetrack'] && $this->config[$config_key . '_ol']) ? true : false;
837 837
 		$avatar_wrap = ($avatar_test) ? $this->mas_get_avatar_img($avatar, $this->config[$config_key . '_av_sz']) : '';
838 838
 		$online_wrap = ($online_test) ? $this->mas_get_online_status_dot($online) : '';
839 839
 		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.