Fix restore declaration to avoid to many uncompatibility problems.

This commit is contained in:
Laurent Destailleur
2024-03-18 15:13:43 +01:00
parent b72b38f5d1
commit f9346a8022
15 changed files with 15 additions and 15 deletions

View File

@@ -65,7 +65,7 @@ class InterfaceMyModuleTriggers extends DolibarrTriggers
* @param Conf $conf Object conf
* @return int Return integer <0 if KO, 0 if no triggered ran, >0 if OK
*/
public function runTrigger(string $action, $object, User $user, Translate $langs, Conf $conf)
public function runTrigger($action, $object, User $user, Translate $langs, Conf $conf)
{
if (!isModEnabled('mymodule')) {
return 0; // If module is not enabled, we do nothing