Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class XlanguageCorePreload extends \XoopsPreloadItem |
||
26 | { |
||
27 | /** |
||
28 | * @param $args |
||
29 | */ |
||
30 | public static function eventCoreIncludeCommonLanguage($args) |
||
|
|||
31 | { |
||
32 | global $xoopsConfig; |
||
33 | require_once \dirname(__DIR__) . '/api.php'; |
||
34 | } |
||
35 | |||
36 | // to add PSR-4 autoloader |
||
37 | |||
38 | /** |
||
39 | * @param $args |
||
40 | */ |
||
41 | public static function eventCoreIncludeCommonEnd($args) |
||
44 | } |
||
45 | } |
||
46 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.