Completed
Push — master ( fd44b1...e14771 )
by Khoa
04:54
created
ext/vinabb/web/events/acp.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
 		\phpbb\config\config $config,
46 46
 		\phpbb\template\template $template,
47 47
 		\phpbb\user $user
48
-	)
49
-	{
48
+	) {
50 49
 		$this->db = $db;
51 50
 		$this->cache = $cache;
52 51
 		$this->config = $config;
Please login to merge, or discard this patch.
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@  discard block
 block discarded – undo
31 31
 	protected $user;
32 32
 
33 33
 	/**
34
-	* Constructor
35
-	*
36
-	* @param \phpbb\db\driver\driver_interface					$db			Database object
37
-	* @param \vinabb\web\controllers\cache\service_interface	$cache		Cache service
38
-	* @param \phpbb\config\config								$config		Config object
39
-	* @param \phpbb\template\template							$template	Template object
40
-	* @param \phpbb\user										$user		User object
41
-	*/
34
+	 * Constructor
35
+	 *
36
+	 * @param \phpbb\db\driver\driver_interface					$db			Database object
37
+	 * @param \vinabb\web\controllers\cache\service_interface	$cache		Cache service
38
+	 * @param \phpbb\config\config								$config		Config object
39
+	 * @param \phpbb\template\template							$template	Template object
40
+	 * @param \phpbb\user										$user		User object
41
+	 */
42 42
 	public function __construct(
43 43
 		\phpbb\db\driver\driver_interface $db,
44 44
 		\vinabb\web\controllers\cache\service_interface $cache,
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
 	}
56 56
 
57 57
 	/**
58
-	* List of phpBB's PHP events to be used
59
-	*
60
-	* @return array
61
-	*/
58
+	 * List of phpBB's PHP events to be used
59
+	 *
60
+	 * @return array
61
+	 */
62 62
 	static public function getSubscribedEvents()
63 63
 	{
64 64
 		return [
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
 	}
69 69
 
70 70
 	/**
71
-	* core.adm_page_header
72
-	*
73
-	* @param array $event Data from the PHP event
74
-	*/
71
+	 * core.adm_page_header
72
+	 *
73
+	 * @param array $event Data from the PHP event
74
+	 */
75 75
 	public function adm_page_header_after($event)
76 76
 	{
77 77
 		// Add template variables
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
 	}
82 82
 
83 83
 	/**
84
-	* core.add_log
85
-	*
86
-	* @param array $event Data from the PHP event
87
-	*/
84
+	 * core.add_log
85
+	 *
86
+	 * @param array $event Data from the PHP event
87
+	 */
88 88
 	public function add_log($event)
89 89
 	{
90 90
 		$data = [
@@ -111,8 +111,8 @@  discard block
 block discarded – undo
111 111
 	}
112 112
 
113 113
 	/**
114
-	* Do actions while deleting forums
115
-	*/
114
+	 * Do actions while deleting forums
115
+	 */
116 116
 	protected function add_log_forum_del()
117 117
 	{
118 118
 		// Update forum counter
@@ -132,8 +132,8 @@  discard block
 block discarded – undo
132 132
 	}
133 133
 
134 134
 	/**
135
-	* Do actions while adding forums
136
-	*/
135
+	 * Do actions while adding forums
136
+	 */
137 137
 	protected function add_log_forum_add()
138 138
 	{
139 139
 		// Update forum counter
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
 	}
148 148
 
149 149
 	/**
150
-	* Do actions while editing forums
151
-	*/
150
+	 * Do actions while editing forums
151
+	 */
152 152
 	protected function add_log_forum_edit()
153 153
 	{
154 154
 		// Clear forum cache
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
 	}
160 160
 
161 161
 	/**
162
-	* Do actions while installing/uninstalling language packages
163
-	*/
162
+	 * Do actions while installing/uninstalling language packages
163
+	 */
164 164
 	protected function add_log_lang()
165 165
 	{
166 166
 		// Clear language data cache
Please login to merge, or discard this patch.