Address dynamic class property deprecation warnings

This commit is contained in:
2022-12-25 13:50:33 +01:00
parent 49390c372d
commit 7897172256
17 changed files with 54 additions and 8 deletions

View File

@@ -12,17 +12,20 @@
*/
abstract class User
{
protected $id_user;
protected $first_name;
protected $surname;
protected $emailaddress;
protected int $id_user;
protected string $first_name;
protected string $surname;
protected string $slug;
protected string $emailaddress;
protected string $password_hash;
protected $creation_time;
protected $last_action_time;
protected $ip_address;
protected $is_admin;
protected string $reset_key;
protected $is_logged;
protected $is_guest;
protected bool $is_logged;
protected bool $is_guest;
/**
* Returns user id.