socialbuttons_info::module()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 15
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 15
rs 9.4285
cc 1
eloc 10
nc 1
nop 0
1
<?php
2
/**
3
*
4
* @package phpBB Extension - tas2580 Social Media Buttons
5
* @copyright (c) 2015 tas2580 (https://tas2580.net)
6
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
*
8
*/
9
10
namespace tas2580\socialbuttons\acp;
11
12
class socialbuttons_info
13
{
14
	function module()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
15
	{
16
		return array(
17
			'filename'	=> '\tas2580\socialbuttons\socialbuttons_module',
18
			'title'		=> 'ACP_SOCIALBUTTONS_TITLE',
19
			'version'	=> '1.0.0-RC3',
20
			'modes'	=> array(
21
				'settings'	=> array(
22
					'title'		=> 'ACP_SOCIALBUTTONS_TITLE',
23
					'auth'	=> 'ext_tas2580/socialbuttons && acl_a_board',
24
					'cat'		=> array('ACP_SOCIALBUTTONS_TITLE')
25
				),
26
			),
27
		);
28
	}
29
}
30