Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisTicgal committed Feb 5, 2024
1 parent b6336c8 commit f35325a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,13 @@ function plugin_costs_uninstall(): bool
* plugin_costs_getAddSearchOptions
*
* @param mixed $itemtype
* @return mixed
* @return array
*/
function plugin_costs_getAddSearchOptions($itemtype): mixed
function plugin_costs_getAddSearchOptions($itemtype): array
{
if ($itemtype == Ticket::getType()) {
return PluginCostsTicket::rawSearchOptionsToAdd();
}

return [];
}

0 comments on commit f35325a

Please sign in to comment.