ucp_friends_info::module()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 17
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 11
nc 1
nop 0
1
<?php
2
3
namespace florinp\messenger\ucp;
4
5
class ucp_friends_info
6
{
7
8
  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...
9
  {
10
	return array(
11
	  'filename' => '\florinp\messenger\ucp\ucp_friends_module',
12
	  'title' => 'CHAT_BOX',
13
	  'modes' => array(
14
		'friends' => array(
15
		  'title' => 'FRIENDS_LIST',
16
		  'auth' => 'ext_florinp/messenger && acl_u_access_messenger'
17
		),
18
		'requests' => array(
19
		  'title' => 'FRIENDS_REQUESTS',
20
		  'auth' => 'ext_florinp/messenger && acl_u_access_messenger',
21
		),
22
	  )
23
	);
24
  }
25
26
}
27