mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix php stan
This commit is contained in:
parent
104f5a9dc8
commit
9d61b20ecd
|
|
@ -119,7 +119,7 @@ class Commande extends CommonOrder
|
|||
|
||||
/**
|
||||
* Status of the order
|
||||
* @var int
|
||||
* @var int|null
|
||||
*/
|
||||
public $status;
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ class Facture extends CommonInvoice
|
|||
protected $table_ref_field = 'ref';
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
* @var int|null ID
|
||||
* @deprecated Use $user_creation_id
|
||||
*/
|
||||
public $fk_user_author;
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ class TimeSpent extends CommonObject
|
|||
*/
|
||||
public $intervention_line_id;
|
||||
/**
|
||||
* @var string
|
||||
* @var int
|
||||
*/
|
||||
public $datec;
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -2037,7 +2037,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon = null, $nopr
|
|||
|
||||
// Complete request and execute it with limit
|
||||
$sql .= $db->order($sortfield_new, $sortorder);
|
||||
if ($limit) {
|
||||
if ($limit) { // @phpstan-ignore-line
|
||||
$sql .= $db->plimit($limit + 1, $offset);
|
||||
}
|
||||
|
||||
|
|
@ -2684,16 +2684,14 @@ function htmlPrintOnlineHeader($mysoc, $langs)
|
|||
print '<header class="center">';
|
||||
|
||||
// Output html code for logo
|
||||
if ($urllogo) {
|
||||
print '<div class="backgreypublicpayment">';
|
||||
print '<div class="logopublicpayment">';
|
||||
print '<img id="dolpaymentlogo" src="'.$urllogo.'">';
|
||||
print '</div>';
|
||||
if (!getDolGlobalString('MAIN_HIDE_POWERED_BY')) {
|
||||
print '<div class="poweredbypublicpayment opacitymedium right"><a class="poweredbyhref" href="https://www.dolibarr.org?utm_medium=website&utm_source=poweredby" target="dolibarr" rel="noopener">'.$langs->trans("PoweredBy").'<br><img class="poweredbyimg" src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.svg" width="80px"></a></div>';
|
||||
}
|
||||
print '</div>';
|
||||
print '<div class="backgreypublicpayment">';
|
||||
print '<div class="logopublicpayment">';
|
||||
print '<img id="dolpaymentlogo" src="'.$urllogo.'">';
|
||||
print '</div>';
|
||||
if (!getDolGlobalString('MAIN_HIDE_POWERED_BY')) {
|
||||
print '<div class="poweredbypublicpayment opacitymedium right"><a class="poweredbyhref" href="https://www.dolibarr.org?utm_medium=website&utm_source=poweredby" target="dolibarr" rel="noopener">'.$langs->trans("PoweredBy").'<br><img class="poweredbyimg" src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.svg" width="80px"></a></div>';
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
if (getDolGlobalString('MEMBER_IMAGE_PUBLIC_REGISTRATION')) {
|
||||
print '<div class="backimagepublicregistration">';
|
||||
|
|
|
|||
|
|
@ -4442,7 +4442,7 @@ if ($action == 'editmeta' || $action == 'createcontainer') { // Edit properties
|
|||
$pagelang = GETPOST('WEBSITE_LANG', 'aZ09');
|
||||
}
|
||||
if (GETPOST('WEBSITE_ALLOWED_IN_FRAMES', 'aZ09')) {
|
||||
$pageallowedinframes = GETPOST('WEBSITE_ALLOWED_IN_FRAMES', 'aZ09') ? 1 : 0;
|
||||
$pageallowedinframes = 1;
|
||||
}
|
||||
if (GETPOST('htmlheader', 'none')) { // Must accept tags like '<script>' and '<link>'
|
||||
$pagehtmlheader = GETPOST('htmlheader', 'none');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user