Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function addSearchEntry($searchInfo) |
||
24 | { |
||
25 | global $langs; |
||
26 | |||
27 | $langs->load("mymodule@flightlog"); |
||
28 | |||
29 | $this->results["flightlog"] = [ |
||
30 | 'label' => $langs->trans("Search flight"), |
||
31 | 'text' => $langs->trans("Search flight"), |
||
32 | 'url' => DOL_URL_ROOT . '/flightlog/list.php?mainmenu=flightlog&sall='.$searchInfo['search_boxvalue'] |
||
33 | ]; |
||
34 | } |
||
35 | |||
45 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.