Passed
Push — master ( 360e2b...e8c113 )
by Dark❶
04:59 queued 04:44
created

friendlist_module   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 15
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A main() 0 3 1
1
<?php
2
/**
3
 *
4
 * Member Avatar & Status [MAS]. An extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2018-2020, Dark❶ [dark1]
7
 * @license GNU General Public License, version 2 (GPL-2.0-only)
8
 *
9
 */
10
11
namespace dark1\memberavatarstatus\acp;
12
13
/**
14
 * Member Avatar & Status [MAS] ACP module.
15
 */
16
class friendlist_module extends base_module
17
{
18
	/**
19
	 * ACP Main
20
	 *
21
	 * @param int    $id   The module ID
22
	 * @param string $mode The module mode
23
	 *
24
	 * @return void
25
	 * @access public
26
	 * @throws \Exception
27
	 */
28
	public function main($id, $mode)
29
	{
30
		$this->handle($id, $mode);
31
	}
32
}
33