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
e0e03f1a1a
commit
fe2cdc47cc
|
|
@ -14328,24 +14328,6 @@ parameters:
|
|||
count: 3
|
||||
path: ../../../htdocs/core/modules/societe/doc/doc_generic_odt.modules.php
|
||||
|
||||
-
|
||||
message: '#^Property mod_codeclient_monkey\:\:\$prefixcustomer has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../../htdocs/core/modules/societe/mod_codeclient_monkey.php
|
||||
|
||||
-
|
||||
message: '#^Property mod_codeclient_monkey\:\:\$prefixsupplier has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../../htdocs/core/modules/societe/mod_codeclient_monkey.php
|
||||
|
||||
-
|
||||
message: '#^Property mod_codecompta_panicum\:\:\$position has no type specified\.$#'
|
||||
identifier: missingType.property
|
||||
count: 1
|
||||
path: ../../../htdocs/core/modules/societe/mod_codecompta_panicum.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#1 \$object of method CommonDocGenerator\:\:get_substitutionarray_each_var_object\(\) expects array\<string, CommonObject\|float\|int\|string\>, Entrepot given\.$#'
|
||||
identifier: argument.type
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2006-2012 Regis Houssin <regis.houssin@inodbox.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
|
||||
|
|
@ -39,7 +39,13 @@ class mod_codeclient_monkey extends ModeleThirdPartyCode
|
|||
public $version = 'dolibarr';
|
||||
|
||||
// variables not inherited
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $prefixcustomer = 'CU';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $prefixsupplier = 'SU';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* 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
|
||||
|
|
@ -48,6 +48,9 @@ class mod_codecompta_panicum extends ModeleAccountancyCode
|
|||
*/
|
||||
public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public $position = 10;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user