mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix phpstan (#31169)
* fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan
This commit is contained in:
parent
affdfd304f
commit
4b3c59fe64
|
|
@ -146,15 +146,15 @@ class Asset extends CommonObject
|
|||
*/
|
||||
public $recovered_vat;
|
||||
/**
|
||||
* @var string
|
||||
* @var int|''
|
||||
*/
|
||||
public $reversal_date;
|
||||
/**
|
||||
* @var string
|
||||
* @var int|''
|
||||
*/
|
||||
public $date_acquisition;
|
||||
/**
|
||||
* @var string
|
||||
* @var int|''
|
||||
*/
|
||||
public $date_start;
|
||||
/**
|
||||
|
|
@ -450,6 +450,7 @@ class Asset extends CommonObject
|
|||
$this->fields['reversal_amount_ht']['noteditable'] = '1';
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
|
||||
* Copyright (C) 2013-2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
|
||||
* Copyright (C) 2019 Eric Seigne <eric.seigne@cap-rel.fr>
|
||||
* Copyright (C) 2021-2024 Frédéric France <frederic.france@netlogic.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
/* Copyright (C) 2013-2014 Olivier Geffroy <jeff@jeffinfo.com>
|
||||
* Copyright (C) 2013-2021 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2014 Florian Henry <florian.henry@open-concept.pro>
|
||||
* Copyright (C) 2019 Eric Seigne <eric.seigne@cap-rel.fr>
|
||||
* Copyright (C) 2021-2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* 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
|
||||
|
|
@ -347,7 +347,7 @@ function getDefaultDatesForTransfer()
|
|||
* Get current period of fiscal year
|
||||
*
|
||||
* @param DoliDB $db Database handler
|
||||
* @param stdClass $conf Config
|
||||
* @param Conf $conf Config
|
||||
* @param int $from_time [=null] Get current time or set time to find fiscal period
|
||||
* @return array Period of fiscal year : [date_start, date_end]
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ parameters:
|
|||
- '# SMTPs::(getFrom|getErrorsTo|getReplyTo)\(\) expects bool, string given.#'
|
||||
- '# (dolibarr_set_const|yn|getLocalTaxesFromRate) expects int\|string#'
|
||||
- '#::(options)\(\) expects int\|string#'
|
||||
- '# (print_barre_liste|getCurrentPeriodOfFiscalYear|dol_substr) expects int\|null#'
|
||||
- '# (print_barre_liste|dol_substr) expects int\|null#'
|
||||
- '#(?:colorAdjustBrightness|imap_(?:(?:fetch)?body|fetchstructure)) expects int, string#'
|
||||
- '# (Setup|Asset|Proposals|Orders|Invoices|FactureRec|BonPrelevement|Products|Thirdparties)::_fetch\S*\(\) expects int, string#'
|
||||
- '#(sendTicketMessageByEmail|addItemsFact|update_price|recur|addDepreciationLine|addline|generate|buildRumNumber|update|update_label|getSelectConditionsPaiements|select_state|listBoxes|addLineRec|literalBarcodeType)\(\) expects int, string#'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user