From e71f216f162cebb90f5f9d6b6d6dc440eaab9588 Mon Sep 17 00:00:00 2001 From: Gustavo Novaro <gnovaro@users.noreply.github.com> Date: Fri, 23 Dec 2016 14:21:15 -0300 Subject: [PATCH] var to public Improve code style --- htdocs/hrm/class/establishment.class.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/htdocs/hrm/class/establishment.class.php b/htdocs/hrm/class/establishment.class.php index 9ff2e2065cc..4438f3ea6ad 100644 --- a/htdocs/hrm/class/establishment.class.php +++ b/htdocs/hrm/class/establishment.class.php @@ -34,20 +34,20 @@ class Establishment extends CommonObject public $fk_element = 'fk_establishment'; protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe - var $id; - var $rowid; + public $id; + public $rowid; - var $name; - var $address; - var $zip; - var $town; - var $status; // 0=open, 1=closed - var $entity; + public $name; + public $address; + public $zip; + public $town; + public $status; // 0=open, 1=closed + public $entity; - var $country_id; + public $country_id; - var $statuts=array(); - var $statuts_short=array(); + public $statuts=array(); + public $statuts_short=array(); /** * Constructor -- GitLab