From 63b6900f2cca3d663c21173d2f483d9aed724160 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 15 Mar 2019 16:09:20 +0100 Subject: [PATCH] Fix phpcs --- .../class/accountancycategory.class.php | 2 +- .../accountancy/class/accountancyexport.class.php | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/htdocs/accountancy/class/accountancycategory.class.php b/htdocs/accountancy/class/accountancycategory.class.php index ae4b42c8e3c..1f30bcfcef3 100644 --- a/htdocs/accountancy/class/accountancycategory.class.php +++ b/htdocs/accountancy/class/accountancycategory.class.php @@ -38,7 +38,7 @@ class AccountancyCategory // extends CommonObject /** * @var string Error string - * @see errors + * @see $errors */ public $error; diff --git a/htdocs/accountancy/class/accountancyexport.class.php b/htdocs/accountancy/class/accountancyexport.class.php index 90b722d7959..a641ccb4db5 100644 --- a/htdocs/accountancy/class/accountancyexport.class.php +++ b/htdocs/accountancy/class/accountancyexport.class.php @@ -31,20 +31,15 @@ * \brief Class accountancy export */ -/** - * Class AccountancyExport - * - * Manage the different format accountancy export - */ - require_once DOL_DOCUMENT_ROOT . '/core/lib/functions.lib.php'; +/** + * Manage the different format accountancy export + */ class AccountancyExport { - /** - * Type of export. Defined by $conf->global->ACCOUNTING_EXPORT_MODELCSV - */ - public static $EXPORT_TYPE_NORMAL = 1; // CSV + // Type of export. Used into $conf->global->ACCOUNTING_EXPORT_MODELCSV + public static $EXPORT_TYPE_NORMAL = 1; // CSV public static $EXPORT_TYPE_CONFIGURABLE = 10; // CSV public static $EXPORT_TYPE_CEGID = 2; public static $EXPORT_TYPE_COALA = 3;