mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
fix phpstan
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
* Copyright (C) 2012-2016 Juanjo Menent <jmenent@2byte.es>
|
||||
* Copyright (C) 2020 Stéphane Lesage <stephane.lesage@ateis.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2025 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* 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
|
||||
@@ -70,14 +71,15 @@ class modCategorie extends DolibarrModules
|
||||
$this->langfiles = array("products", "companies", "categories", "members", "stocks", "website");
|
||||
|
||||
// Constants
|
||||
$this->const = array();
|
||||
$r = 0;
|
||||
$this->const[$r][0] = "CATEGORIE_RECURSIV_ADD";
|
||||
$this->const[$r][1] = "yesno";
|
||||
$this->const[$r][2] = "0";
|
||||
$this->const[$r][3] = 'Affect parent categories';
|
||||
$this->const[$r][4] = 0;
|
||||
$r++;
|
||||
$this->const = [
|
||||
[
|
||||
"CATEGORIE_RECURSIV_ADD",
|
||||
"yesno",
|
||||
"0",
|
||||
"Affect parent categories",
|
||||
0,
|
||||
],
|
||||
];
|
||||
|
||||
// Boxes
|
||||
$this->boxes = array();
|
||||
|
||||
Reference in New Issue
Block a user