Fixing style errors.

This commit is contained in:
stickler-ci 2022-11-08 15:24:05 +00:00
parent 73b857c1b3
commit 89876d8d52
3 changed files with 23 additions and 23 deletions

View File

@ -3275,10 +3275,10 @@ class Propal extends CommonObject
} }
$parameters = array('status' => $status, 'mode' => $mode); $parameters = array('status' => $status, 'mode' => $mode);
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook $reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
if ($reshook > 0) { if ($reshook > 0) {
return $hookmanager->resPrint; return $hookmanager->resPrint;
} }

View File

@ -3636,16 +3636,16 @@ class Commande extends CommonOrder
$mode = 0; $mode = 0;
} }
$parameters = array( $parameters = array(
'status' => $status, 'status' => $status,
'mode' => $mode, 'mode' => $mode,
'billed' => $billed, 'billed' => $billed,
'donotshowbilled' => $donotshowbilled 'donotshowbilled' => $donotshowbilled
); );
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook $reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
if ($reshook > 0) { if ($reshook > 0) {
return $hookmanager->resPrint; return $hookmanager->resPrint;
} }

View File

@ -577,17 +577,17 @@ abstract class CommonInvoice extends CommonObject
} }
} }
$parameters = array( $parameters = array(
'status' => $status, 'status' => $status,
'mode' => $mode, 'mode' => $mode,
'paye' => $paye, 'paye' => $paye,
'alreadypaid' => $alreadypaid, 'alreadypaid' => $alreadypaid,
'type' => $type 'type' => $type
); );
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook $reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
if ($reshook > 0) { if ($reshook > 0) {
return $hookmanager->resPrint; return $hookmanager->resPrint;
} }