acp_info::module()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 14
rs 9.4285
cc 1
eloc 9
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * Ajax Shoutbox extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace paul999\ajaxshoutbox\acp;
12
13
class acp_info {
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'	=> '\paul999\ajaxshoutbox\acp\acp_module',
18
			'title'		=> 'ACP_AJAX_SHOUTBOX',
19
			'modes'		=> array(
20
				'settings'	=> array(
21
					'title' => 'ACP_AJAX_SHOUTBOX_SETTINGS',
22
					'auth' => 'ext_paul999/ajaxshoutbox && acl_a_board',
23
					'cat' => array('ACP_AJAX_SHOUTBOX')
24
				),
25
			),
26
		);
27
	}
28
}
29