| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | function module() |
||
|
|
|||
| 18 | { |
||
| 19 | return array( |
||
| 20 | 'title' => 'PHPBB_GALLERY', |
||
| 21 | 'version' => '1.0.0', |
||
| 22 | 'modes' => array( |
||
| 23 | 'main' => array( |
||
| 24 | 'title' => 'ACP_GALLERY_CONFIGURE_GALLERY', |
||
| 25 | 'auth' => 'ext_phpbbgallery/core && acl_a_gallery_manage', |
||
| 26 | 'cat' => array('PHPBB_GALLERY'), |
||
| 27 | ), |
||
| 32 |
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.