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