Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | function module() |
||
|
|||
20 | { |
||
21 | return array( |
||
22 | 'filename' => '\anavaro\pmsearch\ucp\ucp_pmsearch_module', |
||
23 | 'title' => 'PMSEARCH_TITLE', |
||
24 | 'version' => '1.0.0', |
||
25 | 'modes' => array( |
||
26 | 'search' => array( |
||
27 | 'title' => 'PMSEARCH_TITLE', |
||
28 | 'auth' => 'ext_anavaro/pmsearch', |
||
29 | 'cat' => array('UCP_PM') |
||
30 | ), |
||
35 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.