fix phpstan (#30882)
* fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan
This commit is contained in:
parent
6aac956b7a
commit
2d02bec9ba
10 changed files with 11 additions and 11 deletions
|
|
@ -4,7 +4,7 @@
|
|||
* Copyright (C) 2006-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2012 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2012 J. Fernando Lagrange <fernando@demo-tic.org>
|
||||
* Copyright (C) 2018-2019 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2018 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2021 Waël Almoman <info@almoman.com>
|
||||
* Copyright (C) 2022 Udo Tamm <dev@dolibit.de>
|
||||
|
|
@ -302,7 +302,7 @@ $extrafields->fetch_name_optionals_label($objectsoc->table_element); // fetch op
|
|||
llxHeaderVierge($langs->trans("ContactUs"));
|
||||
|
||||
print '<br>';
|
||||
print load_fiche_titre(img_picto('', 'member_nocolor', 'class="pictofixedwidth"') . ' ' . $langs->trans("ContactUs"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre(img_picto('', 'member_nocolor', 'class="pictofixedwidth"') . ' ' . $langs->trans("ContactUs"), '', '', 0, '', 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
|
|
|
|||
|
|
@ -697,7 +697,7 @@ print '<div id="divsubscribe">';
|
|||
|
||||
// Sub banner
|
||||
print '<div class="center subscriptionformbanner subbanner justify margintoponly paddingtop marginbottomonly padingbottom">';
|
||||
print load_fiche_titre($langs->trans("NewRegistration"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre($langs->trans("NewRegistration"), '', '', 0, '', 'center');
|
||||
// Welcome message
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgWelcomeMessage").'</span>';
|
||||
print '<br>';
|
||||
|
|
|
|||
|
|
@ -518,7 +518,7 @@ $extrafields->fetch_name_optionals_label($object->table_element); // fetch optio
|
|||
llxHeaderVierge($langs->trans("NewSubscription"));
|
||||
|
||||
print '<br>';
|
||||
print load_fiche_titre(img_picto('', 'member_nocolor', 'class="pictofixedwidth"').' '.$langs->trans("NewSubscription"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre(img_picto('', 'member_nocolor', 'class="pictofixedwidth"').' '.$langs->trans("NewSubscription"), '', '', 0, '', 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
|
|
|
|||
|
|
@ -554,7 +554,7 @@ $extrafields->fetch_name_optionals_label($object->table_element); // fetch optio
|
|||
llxHeaderVierge($langs->trans("NewPartnershipRequest"));
|
||||
|
||||
print '<br>';
|
||||
print load_fiche_titre(img_picto('', 'hands-helping', 'class="pictofixedwidth"').' '.$langs->trans("NewPartnershipRequest"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre(img_picto('', 'hands-helping', 'class="pictofixedwidth"').' '.$langs->trans("NewPartnershipRequest"), '', '', 0, '', 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ print '<div id="divsubscribe">';
|
|||
|
||||
// Sub banner
|
||||
print '<div class="center subscriptionformbanner subbanner justify margintoponly paddingtop marginbottomonly padingbottom">';
|
||||
print load_fiche_titre($langs->trans("NewRegistration"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre($langs->trans("NewRegistration"), '', '', 0, '', 'center');
|
||||
// Welcome message
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgRegistrationWelcomeMessage").'</span>';
|
||||
print '<br>';
|
||||
|
|
|
|||
|
|
@ -457,7 +457,7 @@ $extrafields->fetch_name_optionals_label($object->table_element); // fetch optio
|
|||
llxHeaderVierge($langs->trans("NewContact"));
|
||||
|
||||
|
||||
print load_fiche_titre($langs->trans("NewContact"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre($langs->trans("NewContact"), '', '', 0, '', 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
|
|
|
|||
|
|
@ -560,7 +560,7 @@ print '<br>';
|
|||
|
||||
// Sub banner
|
||||
print '<div class="center subscriptionformbanner subbanner justify margintoponly paddingtop marginbottomonly padingbottom">';
|
||||
print load_fiche_titre($langs->trans("NewSuggestionOfBooth"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre($langs->trans("NewSuggestionOfBooth"), '', '', 0, '', 'center');
|
||||
// Welcome message
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgRegistrationWelcomeMessage").'</span>';
|
||||
print '<br>';
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@ print '<br>';
|
|||
|
||||
// Sub banner
|
||||
print '<div class="center subscriptionformbanner subbanner justify margintoponly paddingtop marginbottomonly padingbottom">';
|
||||
print load_fiche_titre($langs->trans("NewSuggestionOfConference"), '', '', 0, 0, 'center');
|
||||
print load_fiche_titre($langs->trans("NewSuggestionOfConference"), '', '', 0, '', 'center');
|
||||
// Welcome message
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgRegistrationWelcomeMessage").'</span>';
|
||||
print '<br>';
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
* Copyright (C) 2016 Christophe Battarel <christophe@altairis.fr>
|
||||
* Copyright (C) 2023 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -533,7 +534,7 @@ if ($action != "infos_success") {
|
|||
|
||||
$formticket->param = array('returnurl' => $_SERVER['PHP_SELF'].($conf->entity > 1 ? '?entity='.$conf->entity : ''));
|
||||
|
||||
print load_fiche_titre($langs->trans('NewTicket'), '', '', 0, 0, 'marginleftonly');
|
||||
print load_fiche_titre($langs->trans('NewTicket'), '', '', 0, '', 'marginleftonly');
|
||||
|
||||
if (!getDolGlobalString('TICKET_NOTIFICATION_EMAIL_FROM')) {
|
||||
$langs->load("errors");
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ parameters:
|
|||
- '#get_next_value expects string, int given#'
|
||||
- '#pdf_writeLinkedObjects expects string, int given#'
|
||||
- '#dol_print_phone expects string, int given#'
|
||||
- '#load_fiche_titre expects string, int given#'
|
||||
- '#dol_move expects string, int given#'
|
||||
- '#expects int, float#'
|
||||
- '#expects int, array\|string given.#'
|
||||
|
|
|
|||
Loading…
Reference in a new issue