diff --git a/htdocs/core/class/commoninvoice.class.php b/htdocs/core/class/commoninvoice.class.php index 44cf259d8f0..47eabc5f19f 100644 --- a/htdocs/core/class/commoninvoice.class.php +++ b/htdocs/core/class/commoninvoice.class.php @@ -81,7 +81,7 @@ abstract class CommonInvoice extends CommonObject public $date_lim_reglement; /** - * @var int + * @var ?int */ public $cond_reglement_id; // Id in llx_c_paiement /** @@ -98,7 +98,7 @@ abstract class CommonInvoice extends CommonObject public $cond_reglement_doc; /** - * @var int + * @var ?int */ public $mode_reglement_id; /** diff --git a/htdocs/core/lib/geturl.lib.php b/htdocs/core/lib/geturl.lib.php index 10ae3be77f3..75af262a4aa 100644 --- a/htdocs/core/lib/geturl.lib.php +++ b/htdocs/core/lib/geturl.lib.php @@ -166,7 +166,7 @@ function getURLContent($url, $postorget = 'GET', $param = '', $followlocation = $array_param = null; curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PATCH'); // RFC 5789 if (!is_array($param)) { - parse_str($param, $array_param); + parse_str($param, $array_param); // @phan-suppress-current-line PhanPluginConstantVariableNull } else { dol_syslog("parameter param must be a string", LOG_WARNING); $array_param = $param;