From a321ab5f315d29b39767bfd6c191d983a2fbc654 Mon Sep 17 00:00:00 2001 From: Gustavo Novaro Date: Sat, 17 Dec 2016 03:27:32 -0300 Subject: [PATCH] var to public Update deprecated code style --- htdocs/categories/class/categorie.class.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index 6880dbd0aa3..da0f1c73d12 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -49,8 +49,8 @@ class Categorie extends CommonObject const TYPE_MEMBER = 3; // TODO Replace this value with 'member' const TYPE_CONTACT = 4; // TODO Replace this value with 'contact' const TYPE_USER = 4; // categorie contact and user are same ! TODO Replace this value with 'user' - const TYPE_ACCOUNT = 5; // for bank account TODO Replace this value with 'account' - const TYPE_PROJECT = 6; + const TYPE_ACCOUNT = 5; // for bank account TODO Replace this value with 'account' + const TYPE_PROJECT = 6; /** * @var array ID mapping from type string @@ -131,17 +131,17 @@ class Categorie extends CommonObject public $element='category'; public $table_element='categories'; - var $fk_parent; - var $label; - var $description; + public $fk_parent; + public $label; + public $description; /** * @var string Color */ - var $color; + public $color; /** * @var ??? */ - var $socid; + public $socid; /** * @var int Category type * @@ -154,10 +154,10 @@ class Categorie extends CommonObject * @see Categorie::TYPE_ACCOUNT * @see Categorie::TYPE_PROJECT */ - var $type; + public $type; - var $cats=array(); // Categories table in memory - var $motherof=array(); + public $cats = array(); // Categories table in memory + public $motherof = array(); /** * Constructor