mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix phpstan
This commit is contained in:
parent
11cb6282b6
commit
e0e03f1a1a
|
|
@ -15006,24 +15006,6 @@ parameters:
|
|||
count: 12
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$defaulttopic might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 2
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$diroutput might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 4
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$file might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 2
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$hidedesc might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
|
@ -15066,12 +15048,6 @@ parameters:
|
|||
count: 1
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$object might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
count: 36
|
||||
path: ../../../htdocs/core/tpl/card_presend.tpl.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$user might not be defined\.$#'
|
||||
identifier: variable.undefined
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2022 Charlene Benke <charlene@patas-monkey.com>
|
||||
* Copyright (C) 2023 Maxime Nicolas <maxime@oarces.com>
|
||||
* Copyright (C) 2023 Benjamin GREMBI <benjamin@oarces.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024-2025 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
|
||||
|
|
@ -31,6 +31,14 @@
|
|||
* $arrayoffamiliestoexclude=array('system', 'mycompany', 'object', 'objectamount', 'date', 'user', ...);
|
||||
* $file
|
||||
*/
|
||||
/**
|
||||
* @var int<0,1> $diroutput
|
||||
* @var string $defaulttopic
|
||||
* @var string $defaulttopiclang
|
||||
* @var string[] $arrayoffamiliestoexclude
|
||||
* @var string $file
|
||||
* @var CommonObject $object
|
||||
*/
|
||||
'
|
||||
@phan-var-force int<0,1> $diroutput
|
||||
@phan-var-force string $defaulttopic
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user