fix undeclared properties for php 8.2

This commit is contained in:
Frédéric France
2023-01-18 22:03:38 +01:00
parent 80d46a22f1
commit ea6964ccd0
3 changed files with 36 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
* Copyright (C) 2009-2017 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2014-2018 Alexandre Spangaro <aspangaro@open-dsi.fr>
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
* Copyright (C) 2015-2022 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2015-2023 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2018-2019 Thibault FOUCART <support@ptibogxiv.net>
@@ -89,6 +89,11 @@ class Adherent extends CommonObject
*/
public $pass_indatabase_crypted;
/**
* @var string fullname
*/
public $fullname;
/**
* @var string company name
* @deprecated
@@ -292,6 +297,10 @@ class Adherent extends CommonObject
public $first_subscription_date;
public $first_subscription_date_start;
public $first_subscription_date_end;
public $first_subscription_amount;
public $last_subscription_date;
@@ -304,6 +313,10 @@ class Adherent extends CommonObject
public $subscriptions = array();
/**
* @var string ip
*/
public $ip;
// Fields loaded by fetchPartnerships() from partnership table

View File

@@ -129,6 +129,19 @@ class AdherentType extends CommonObject
/** @var string string other */
public $other = array();
/**
* @var string description
*/
public $description;
/**
* @var string email
*/
public $email;
/**
* @var array multilangs
*/
public $multilangs = array();

View File

@@ -593,6 +593,15 @@ abstract class CommonObject
protected $labelStatus;
protected $labelStatusShort;
/**
* @var array nb used in load_stateboard
*/
public $nb = array();
/**
* @var string output
*/
public $output;
/**
* @var array List of child tables. To test if we can delete object.