From 0d24b979c1f07375e0e08e5b461f36c278a66fb0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 11 Jul 2020 01:19:22 +0200 Subject: [PATCH] Fix phpcs --- htdocs/compta/bank/account_statement_document.php | 2 +- htdocs/core/class/commonobject.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/bank/account_statement_document.php b/htdocs/compta/bank/account_statement_document.php index 29e87ca153b..1e9c6e3b358 100644 --- a/htdocs/compta/bank/account_statement_document.php +++ b/htdocs/compta/bank/account_statement_document.php @@ -170,7 +170,7 @@ if ($id > 0 || !empty($ref)) { $morehtmlright .= ''; $title = $langs->trans("AccountStatement").' '.$numref.' - '.$langs->trans("BankAccount").' '.$object->getNomUrl(1, 'receipts'); - print load_fiche_titre($title,$morehtmlright, ''); + print load_fiche_titre($title, $morehtmlright, ''); print '
'; print '
'; diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 6951a4df476..885dcb5c490 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -6718,7 +6718,7 @@ abstract class CommonObject $out = ''; $parameters=array(); - $reshook=$hookmanager->executeHooks('showOptionals',$parameters,$this,$action); // Note that $action and $object may have been modified by hook + $reshook=$hookmanager->executeHooks('showOptionals', $parameters, $this, $action); // Note that $action and $object may have been modified by hook if (empty($reshook)) { if (is_array($extrafields->attributes[$this->table_element]['label']) && count($extrafields->attributes[$this->table_element]['label']) > 0)